diff options
Diffstat (limited to 'c/src/libnetworking/rtems/tftp.h')
-rw-r--r-- | c/src/libnetworking/rtems/tftp.h | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/c/src/libnetworking/rtems/tftp.h b/c/src/libnetworking/rtems/tftp.h deleted file mode 100644 index d09782e22b..0000000000 --- a/c/src/libnetworking/rtems/tftp.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * $Id$ - */ - -/* - * 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 `hostname' must be four dot-separated decimal values. - * - * To open a file on the host which supplied the BOOTP - * information just leave the `hostname' part empty: - * fd = open ("/TFTP//bootfiles/image", O_RDONLY); - * - */ - -#ifndef _TFTP_DRIVER_h -#define _TFTP_DRIVER_h - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Driver entry points - */ -#define TFTP_DRIVER_TABLE_ENTRY \ - { rtems_tftp_initialize, rtems_tftp_open, rtems_tftp_close, \ - rtems_tftp_read, rtems_tftp_write, rtems_tftp_control } - -rtems_device_driver rtems_tftp_initialize( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver rtems_tftp_open( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver rtems_tftp_close( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver rtems_tftp_read( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver rtems_tftp_write( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -rtems_device_driver rtems_tftp_control( - rtems_device_major_number, - rtems_device_minor_number, - void * -); - -#ifdef __cplusplus -} -#endif - -#endif |