5
Last change
on this file since 878487b0 was
c3bab73b,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/30/18 at 07:24:44
|
tftpfs: Always build TFTP client
Move TFTP client filesystem to separate library libtftpfs.a.
Conditionally use legacy network stack features, e.g. BOOTP support.
Update #3419.
|
-
Property mode set to
100644
|
File size:
769 bytes
|
Line | |
---|
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( |
---|
36 | rtems_filesystem_mount_table_entry_t *mt_entry, |
---|
37 | const void *data |
---|
38 | ); |
---|
39 | |
---|
40 | #ifdef __cplusplus |
---|
41 | } |
---|
42 | #endif |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.