source: rtems/cpukit/libnetworking/rtems/tftp.h @ 83c7b00

4.104.114.84.95
Last change on this file since 83c7b00 was 83c7b00, checked in by Joel Sherrill <joel.sherrill@…>, on 02/04/99 at 14:59:42

Modifed to reflect transition from device driver to file system.

  • Property mode set to 100644
File size: 868 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 `hostname' must be four dot-separated decimal values.
24 *
25 * To open a file on the host which supplied the BOOTP
26 * information just leave the `hostname' part empty:
27 *         fd = open ("/TFTP//bootfiles/image", O_RDONLY);
28 *
29 */
30
31#ifndef _TFTP_FILESYSTEM_h
32#define _TFTP_FILESYSTEM_h
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38/*
39 * Filesystem initialization routine
40 */
41
42int rtems_bsdnet_initialize_tftp_filesystem( void );
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif
Note: See TracBrowser for help on using the repository browser.