source: rtems/cpukit/pppd/rtemsdialer.h @ 2129ac8

4.104.114.84.9
Last change on this file since 2129ac8 was 485ed5cc, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 1, 2002 at 2:04:45 PM

2001-01-31 Mike Siers <mikes@…>

  • pppd/rtemsdialer.h: New file missed in previous commit.
  • Property mode set to 100644
File size: 595 bytes
Line 
1
2#ifndef DIALER_H
3#define DIALER_H
4
5/* define constant mode values */
6#define DIALER_INIT         0
7#define DIALER_CONNECT      1
8#define DIALER_WELCOME      2
9#define DIALER_DISCONNECT   3
10
11/* define constant return values */
12#define DIALER_SUCCESS      0
13#define DIALER_INVALIDARG   1
14#define DIALER_UNEXPECTED   2
15#define DIALER_TIMEOUT      3
16#define DIALER_CMDFAILED    4
17
18/* define typedef for dialer function prototype */
19typedef int  (*dialerfp)(int tty, int mode, char *pScript);
20
21/* declare default chat program dialer */
22extern int chatmain(int tty, int mode, char *pScript);
23
24#endif
Note: See TracBrowser for help on using the repository browser.