Raw File
1 #ifndef IP232_H
2 #define IP232_H 1
3
4 #ifndef TRUE
5 #define TRUE 1
6 #define FALSE 0
7 #endif
8
9 typedef enum {
10 IP232_DCD = 1,
11 IP232_RI = 2,
12 IP232_DTR = 4
13 } ip232_flags;
14
15 #define MSG_CALLING '+'
16 #define MSG_BUSY '+'
17
18 int ip232_init_conn(dce_config *);
19 int ip232_set_flow_control(dce_config *, int status);
20 int ip232_get_control_lines(dce_config *);
21 int ip232_set_control_lines(dce_config *, int state);
22 int ip232_write(dce_config *, unsigned char *data, int len);
23 int ip232_read(dce_config *, unsigned char *data, int len);
24
25 #endif
26
Generated by GNU Enscript 1.6.6, and GophHub 1.3.