Files
rtems/cpukit/libnetworking/rtems/tftp.h
T
Joel Sherrill 9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00

45 lines
769 B
C

/*
* Trivial File Transfer Protocol (TFTP)
*
* Transfer file to/from remote host
*
* W. Eric Norum
* Saskatchewan Accelerator Laboratory
* University of Saskatchewan
* Saskatoon, Saskatchewan, CANADA
* eric@skatter.usask.ca
*/
/*
* Usage:
*
* To open `/bootfiles/image' on `hostname' for reading:
* fd = open ("/TFTP/hostname/bootfiles/image", O_RDONLY);
*
* The 'TFTP' is the mount path and the `hostname' must be four dot-separated
* decimal values.
*/
#ifndef _RTEMS_TFTP_H
#define _RTEMS_TFTP_H
#ifdef __cplusplus
extern "C" {
#endif
#include <rtems/fs.h>
/*
* Filesystem Mount table entry.
*/
int rtems_tftpfs_initialize(
rtems_filesystem_mount_table_entry_t *mt_entry,
const void *data
);
#ifdef __cplusplus
}
#endif
#endif