summaryrefslogblamecommitdiffstats
path: root/cpukit/libnetworking/rtems/tftp.h
blob: 11882bed1c3e8cd7c39eae2d3ea259c63e3f79be (plain) (tree)






















                                                                  

   

                          





                  
                                    
   
 
                                                    





                  
/*
 *  $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.
 */

#ifndef _TFTP_FILESYSTEM_h
#define _TFTP_FILESYSTEM_h

#ifdef __cplusplus
extern "C" {
#endif

/*
 * Filesystem initialization routine
 */

int rtems_bsdnet_initialize_tftp_filesystem( void );

#ifdef __cplusplus
}
#endif

#endif