RTEMS: cpukit/include/rtems/tftp.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
tftp.h
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
27extern "C" {
28#endif
29
30#include <rtems/fs.h>
31
32/*
33 * Filesystem Mount table entry.
34 */
35int 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
fs.h
Basic Filesystem Types.
rtems_filesystem_mount_table_entry_tt
Mount table entry.
Definition: libio.h:1604