4.10
Last change
on this file since c114654 was
c114654,
checked in by Sebastian Huber <sebastian.huber@…>, on 07/01/10 at 15:01:11
|
2010-06-29 Sebastian Huber <sebastian.huber@…>
- libnetworking/lib/tftpDriver.c: rtems_tftp_ops and
rtems_tftp_handlers are now const and static.
- libnetworking/rtems/tftp.h: Removed
rtems_bsdnet_initialize_tftp_filesystem and rtems_tftp_ops.
|
-
Property mode set to
100644
|
File size:
770 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * Trivial File Transfer Protocol (TFTP) |
---|
7 | * |
---|
8 | * Transfer file to/from remote host |
---|
9 | * |
---|
10 | * W. Eric Norum |
---|
11 | * Saskatchewan Accelerator Laboratory |
---|
12 | * University of Saskatchewan |
---|
13 | * Saskatoon, Saskatchewan, CANADA |
---|
14 | * eric@skatter.usask.ca |
---|
15 | */ |
---|
16 | |
---|
17 | /* |
---|
18 | * Usage: |
---|
19 | * |
---|
20 | * To open `/bootfiles/image' on `hostname' for reading: |
---|
21 | * fd = open ("/TFTP/hostname/bootfiles/image", O_RDONLY); |
---|
22 | * |
---|
23 | * The 'TFTP' is the mount path and the `hostname' must be four dot-separated |
---|
24 | * decimal values. |
---|
25 | */ |
---|
26 | |
---|
27 | #ifndef _RTEMS_TFTP_H |
---|
28 | #define _RTEMS_TFTP_H |
---|
29 | |
---|
30 | #ifdef __cplusplus |
---|
31 | extern "C" { |
---|
32 | #endif |
---|
33 | |
---|
34 | #include <rtems/libio.h> |
---|
35 | |
---|
36 | /* |
---|
37 | * Filesystem Mount table entry. |
---|
38 | */ |
---|
39 | int rtems_tftpfs_initialize(rtems_filesystem_mount_table_entry_t *temp_mt_entry); |
---|
40 | |
---|
41 | #ifdef __cplusplus |
---|
42 | } |
---|
43 | #endif |
---|
44 | |
---|
45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.