RTEMS  5.1
tftp.h
1 /*
2  * Trivial File Transfer Protocol (TFTP)
3  *
4  * Transfer file to/from remote host
5  *
6  * W. Eric Norum
7  * Saskatchewan Accelerator Laboratory
8  * University of Saskatchewan
9  * Saskatoon, Saskatchewan, CANADA
10  * eric@skatter.usask.ca
11  */
12 
13 /*
14  * Usage:
15  *
16  * To open `/bootfiles/image' on `hostname' for reading:
17  * fd = open ("/TFTP/hostname/bootfiles/image", O_RDONLY);
18  *
19  * The 'TFTP' is the mount path and the `hostname' must be four dot-separated
20  * decimal values.
21  */
22 
23 #ifndef _RTEMS_TFTP_H
24 #define _RTEMS_TFTP_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #include <rtems/fs.h>
31 
32 /*
33  * Filesystem Mount table entry.
34  */
35 int rtems_tftpfs_initialize(
37  const void *data
38 );
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif
Mount table entry.
Definition: libio.h:1604
Basic Filesystem Types.