summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-02-01 14:04:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-02-01 14:04:45 +0000
commit485ed5cccd5e8bdaa1f6ab4e1eb411b74949acb6 (patch)
tree217bfffc7696830b3a5c402f8b1453e05509e104 /cpukit
parent5ec6f09189a6f8e284198801b6320add24bf5810 (diff)
downloadrtems-485ed5cccd5e8bdaa1f6ab4e1eb411b74949acb6.tar.bz2
2001-01-31 Mike Siers <mikes@poliac.com>
* pppd/rtemsdialer.h: New file missed in previous commit.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/ChangeLog4
-rw-r--r--cpukit/pppd/rtemsdialer.h24
2 files changed, 28 insertions, 0 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index a5c3da7682..562d1132ad 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,5 +1,9 @@
2001-01-31 Mike Siers <mikes@poliac.com>
+ * pppd/rtemsdialer.h: New file missed in previous commit.
+
+2001-01-31 Mike Siers <mikes@poliac.com>
+
* Nice Update of PPPD support which eliminates the
requiremetn that drivers be in the termios TASK_DRIVEN mode.
Mike did significant testing and reports that it seems to be
diff --git a/cpukit/pppd/rtemsdialer.h b/cpukit/pppd/rtemsdialer.h
new file mode 100644
index 0000000000..611986b802
--- /dev/null
+++ b/cpukit/pppd/rtemsdialer.h
@@ -0,0 +1,24 @@
+
+#ifndef DIALER_H
+#define DIALER_H
+
+/* define constant mode values */
+#define DIALER_INIT 0
+#define DIALER_CONNECT 1
+#define DIALER_WELCOME 2
+#define DIALER_DISCONNECT 3
+
+/* define constant return values */
+#define DIALER_SUCCESS 0
+#define DIALER_INVALIDARG 1
+#define DIALER_UNEXPECTED 2
+#define DIALER_TIMEOUT 3
+#define DIALER_CMDFAILED 4
+
+/* define typedef for dialer function prototype */
+typedef int (*dialerfp)(int tty, int mode, char *pScript);
+
+/* declare default chat program dialer */
+extern int chatmain(int tty, int mode, char *pScript);
+
+#endif