Logo Search packages:      
Sourcecode: cbmlink version File versions  Download package

rdfile.c File Reference

Detailed Description

Extension for reading files from the remote host
Marko Mäkelä (msmakela@nic.funet.fi)

Definition in file rdfile.c.

#include "comm.h"
#include "info.h"
#include "ext.h"
#include <stdio.h>
#include <string.h>
#include "rdfile.h"
#include "rdfile-o.h"

Go to the source code of this file.


enum  dirstate {
  loadaddr1, loadaddr2, link1, link2,
  number1, number2, contents, end


int rdfile (const struct comm *comm, const char *filename, FILE *file, char *buf)
static int rdfile_copy (const struct comm *comm, const char *filename, FILE *file, char *buf, unsigned directory)
int rdfile_directory (const struct comm *comm, const char *filename, FILE *file, char *buf)
static int rdfile_do (const struct comm *comm, FILE *file, char *buf, unsigned directory)
int rdfile_install (const struct comm *comm, const struct hostinfo *hostinfo, unsigned device, unsigned secondary)
int rdfile_raw (const struct comm *comm, FILE *file, char *buf)
int rdfile_remove (const struct comm *comm)
static void writedir (const char *p, unsigned length, FILE *file)


static unsigned writedir_lineno
static enum dirstate writedir_state

Generated by  Doxygen 1.6.0   Back to index