summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-04 14:59:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-04 14:59:42 +0000
commit83c7b007fd2626e59831041ed4b9a8b248cf2077 (patch)
tree9cfe3b20666753a2bfcaa87ca8529c74ba191e0d
parentd3c106037f3e790ea243919b1294c41f2cb54dc7 (diff)
downloadrtems-83c7b007fd2626e59831041ed4b9a8b248cf2077.tar.bz2
Modifed to reflect transition from device driver to file system.
-rw-r--r--c/src/exec/libnetworking/rtems/tftp.h45
-rw-r--r--c/src/lib/libnetworking/rtems/tftp.h45
-rw-r--r--c/src/libnetworking/rtems/tftp.h45
-rw-r--r--cpukit/libnetworking/rtems/tftp.h45
4 files changed, 16 insertions, 164 deletions
diff --git a/c/src/exec/libnetworking/rtems/tftp.h b/c/src/exec/libnetworking/rtems/tftp.h
index d09782e22b..618f5408da 100644
--- a/c/src/exec/libnetworking/rtems/tftp.h
+++ b/c/src/exec/libnetworking/rtems/tftp.h
@@ -28,55 +28,18 @@
*
*/
-#ifndef _TFTP_DRIVER_h
-#define _TFTP_DRIVER_h
+#ifndef _TFTP_FILESYSTEM_h
+#define _TFTP_FILESYSTEM_h
#ifdef __cplusplus
extern "C" {
#endif
/*
- * Driver entry points
+ * Filesystem initialization routine
*/
-#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 *
-);
+int rtems_bsdnet_initialize_tftp_filesystem( void );
#ifdef __cplusplus
}
diff --git a/c/src/lib/libnetworking/rtems/tftp.h b/c/src/lib/libnetworking/rtems/tftp.h
index d09782e22b..618f5408da 100644
--- a/c/src/lib/libnetworking/rtems/tftp.h
+++ b/c/src/lib/libnetworking/rtems/tftp.h
@@ -28,55 +28,18 @@
*
*/
-#ifndef _TFTP_DRIVER_h
-#define _TFTP_DRIVER_h
+#ifndef _TFTP_FILESYSTEM_h
+#define _TFTP_FILESYSTEM_h
#ifdef __cplusplus
extern "C" {
#endif
/*
- * Driver entry points
+ * Filesystem initialization routine
*/
-#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 *
-);
+int rtems_bsdnet_initialize_tftp_filesystem( void );
#ifdef __cplusplus
}
diff --git a/c/src/libnetworking/rtems/tftp.h b/c/src/libnetworking/rtems/tftp.h
index d09782e22b..618f5408da 100644
--- a/c/src/libnetworking/rtems/tftp.h
+++ b/c/src/libnetworking/rtems/tftp.h
@@ -28,55 +28,18 @@
*
*/
-#ifndef _TFTP_DRIVER_h
-#define _TFTP_DRIVER_h
+#ifndef _TFTP_FILESYSTEM_h
+#define _TFTP_FILESYSTEM_h
#ifdef __cplusplus
extern "C" {
#endif
/*
- * Driver entry points
+ * Filesystem initialization routine
*/
-#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 *
-);
+int rtems_bsdnet_initialize_tftp_filesystem( void );
#ifdef __cplusplus
}
diff --git a/cpukit/libnetworking/rtems/tftp.h b/cpukit/libnetworking/rtems/tftp.h
index d09782e22b..618f5408da 100644
--- a/cpukit/libnetworking/rtems/tftp.h
+++ b/cpukit/libnetworking/rtems/tftp.h
@@ -28,55 +28,18 @@
*
*/
-#ifndef _TFTP_DRIVER_h
-#define _TFTP_DRIVER_h
+#ifndef _TFTP_FILESYSTEM_h
+#define _TFTP_FILESYSTEM_h
#ifdef __cplusplus
extern "C" {
#endif
/*
- * Driver entry points
+ * Filesystem initialization routine
*/
-#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 *
-);
+int rtems_bsdnet_initialize_tftp_filesystem( void );
#ifdef __cplusplus
}