summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/pppd/modem_example/modem.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libnetworking/pppd/modem_example/modem.h')
-rw-r--r--c/src/libnetworking/pppd/modem_example/modem.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/c/src/libnetworking/pppd/modem_example/modem.h b/c/src/libnetworking/pppd/modem_example/modem.h
new file mode 100644
index 0000000000..cd4b4db52d
--- /dev/null
+++ b/c/src/libnetworking/pppd/modem_example/modem.h
@@ -0,0 +1,45 @@
+#ifndef _MODEM_H_
+#define _MODEM_H_
+
+void modem_reserve_resources(
+ rtems_configuration_table * configuration
+);
+
+rtems_device_driver modem_initialize(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_open(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_close(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_read(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_write(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+rtems_device_driver modem_control(
+ rtems_device_major_number,
+ rtems_device_minor_number,
+ void *
+);
+
+
+#endif