Use fds
This commit is contained in:
parent
dab76f2e8a
commit
1f5e47bc90
@ -3,7 +3,7 @@
|
||||
* (C)2005, Dan Ponte
|
||||
* BSDL w/ advert.
|
||||
*/
|
||||
/* $Amigan: phoned/include/phoned.h,v 1.11 2005/06/13 21:04:13 dcp1990 Exp $ */
|
||||
/* $Amigan: phoned/include/phoned.h,v 1.12 2005/06/13 22:02:19 dcp1990 Exp $ */
|
||||
#include <pcre.h> /* fugly, I know... */
|
||||
#define VERSION "0.1"
|
||||
#define LOGFILE "/var/log/phoned.log"
|
||||
@ -106,6 +106,7 @@ typedef struct si_t {
|
||||
states_t st;
|
||||
short freeit;
|
||||
FILE* fpo;
|
||||
int fd;
|
||||
} state_info_t;
|
||||
|
||||
#ifdef HAVE_INET_INCS
|
||||
@ -144,4 +145,4 @@ void check_condition(cid_t* cid);
|
||||
void *modem_io(void *k);
|
||||
void give_me_modem(char* str);
|
||||
char *parse_command(const char *cmd, short *cont, state_info_t *s);
|
||||
void begin_dialogue(FILE* fp);
|
||||
void begin_dialogue(FILE* fp, int fd);
|
||||
|
Loading…
Reference in New Issue
Block a user