head 1.13; access; symbols new_system:1.8 old_system:1.7; locks alexis:1.13; strict; comment @ * @; 1.13 date 99.04.26.16.14.48; author alexis; state Exp; branches; next 1.12; 1.12 date 99.01.07.13.06.08; author alexis; state Exp; branches; next 1.11; 1.11 date 98.10.07.16.29.59; author alexis; state Exp; branches; next 1.10; 1.10 date 98.08.31.12.41.01; author alexis; state Exp; branches; next 1.9; 1.9 date 98.08.28.13.11.55; author alexis; state Exp; branches; next 1.8; 1.8 date 98.08.08.09.47.47; author alexis; state Exp; branches; next 1.7; 1.7 date 98.08.07.11.28.42; author alexis; state Exp; branches; next 1.6; 1.6 date 97.11.11.11.54.58; author alexis; state Exp; branches; next 1.5; 1.5 date 97.10.26.12.12.31; author alexis; state Exp; branches; next 1.4; 1.4 date 97.02.21.17.12.31; author alexis; state Exp; branches; next 1.3; 1.3 date 97.02.16.14.44.25; author alexis; state Exp; branches; next 1.2; 1.2 date 97.02.09.16.00.50; author alexis; state Exp; branches; next 1.1; 1.1 date 97.02.01.21.52.17; author alexis; state Exp; branches; next ; desc @MILEPOST - WORKS @ 1.13 log @changed size of fgets buffers @ text @#ifndef PPPLD_H #define PPPLD_H #ifdef MAIN /*@@unused@@*/ static char *ppplcd_h_rcs_id = "$Header: /diskb/home/alexis/dev/supported/ppplc/bin/RCS/ppplcd.h,v 1.12 1999/01/07 13:06:08 alexis Exp alexis $"; #endif #include /* for time_t */ /* * Structure and type definitions */ extern int c_queue_del_msgid(int); extern int c_queue_sub_msgid(int, int); extern int c_queue_info(void); extern int c_queue_submit(time_t, int, int *); extern void ppplcdexit(int); extern int load_config(char *, int); extern int gen_config(void); extern int kill_pppd(int); extern char pppd_cmd[]; extern char chat_cmd[]; extern char announce_cmd[]; extern char named_modifier_cmd[]; extern char port[]; extern char netmask[]; extern int speed; extern int mtu; extern int mru; extern char login[]; extern char password[]; extern char telno[]; extern int ipc_mode; extern uid_t ipc_owner; extern gid_t ipc_group; extern int do_xfer_news_flag; extern int autoreconnect_flag; extern int quality_interval; extern int quality_minlevel; extern int idle_timeout; extern int state_curr; /* are we connected */ extern int state_want; /* want to be? */ extern int state_cfgok; /* loaded config ok? */ extern int state_inipup; /* in post conn seq? */ extern int state_donenx; /* to assess ipup is finished */ extern int state_donemx; /* to assess ipup is finished */ extern int state_quit; #define PPPLCD_MAXSTRLEN 256 #endif @ 1.12 log @RCS Id is now Header @ text @d5 1 a5 1 static char *ppplcd_h_rcs_id = "$Header: ppplcd.h,v 1.11 1998/10/07 16:29:59 alexis Exp alexis $"; a27 1 extern char newshost[]; d55 1 @ 1.11 log @delinted @ text @d5 1 a5 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.10 1998/08/31 12:41:01 alexis Exp alexis $"; @ 1.10 log @added forward declaration for message delete function @ text @d4 2 a5 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.9 1998/08/28 13:11:55 alexis Exp alexis $"; d19 3 d26 1 a26 1 d38 2 a39 2 extern int ipc_owner; extern int ipc_group; @ 1.9 log @milepost @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.8 1998/08/08 09:47:47 alexis Exp alexis $"; d13 1 @ 1.8 log @new system - heavily modified to use alarms @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.7 1998/08/07 11:28:42 alexis Exp $"; d8 1 d13 4 a16 15 #if OLD_SYSTEM struct delaymsgrec { time_t time; /* dequeue time */ int id; /* message id */ int *parp; /* parameter block pointer */ }; extern struct delaymsgrec delayq[]; /* for delayed messages */ extern int delayq_top; /* how many elements */ #else extern int delayqueue_erase(int); extern int delayqueue_show(void); extern int delayqueue_send(time_t, int, int *); #endif d32 1 a32 1 extern int ipc_perms; a38 3 extern void ppplcdexit(int); extern int delayqueue_erase(int); d43 6 a48 9 extern int state_curr; /* are we connected right now? */ extern int state_want; /* are we connected right now? */ extern int state_done; /* are we connected right now? */ extern int state_cfgok; extern int state_want; /* do we want to be connected? */ extern int state_done; /* have we been connected? */ extern int state_inipup; /* are we running post connection sequence? */ extern int state_donenx; /* used to assess if ipup is finished */ extern int state_donemx; /* used to assess if ipup is finished */ @ 1.7 log @milepost - seems to work ok, though few messages seem wrong @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.6 1997/11/11 11:54:58 alexis Exp $"; d12 1 d16 1 a16 2 int en; /* enabled */ int *parp; /* parameter block pointer */ d19 8 a26 2 extern struct delaymsgrec delayq[]; /* for delayed messages and activation times */ extern int delayq_top; /* how many elements in that array? */ d50 1 @ 1.6 log @quality check remote host and acceptable level ditched - now part of the quality checking command's command line @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.5 1997/10/26 12:12:31 alexis Exp alexis $"; d41 1 a41 1 extern int on_remote_hangup_do_redial; d45 3 a47 4 extern int qualitycheck_interval; extern int idlecheck_interval; extern int idlecheck_timeout; @ 1.5 log @stamped for release 1.0.6 @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.4 1997/02/21 17:12:31 alexis Exp alexis $"; d27 1 d30 2 a44 1 extern char qualitycheck_remhost[]; a45 1 extern int qualitycheck_minquality; @ 1.4 log @added extern refs for ipc owner/group/perms vars @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.3 1997/02/16 14:44:25 alexis Exp alexis $"; @ 1.3 log @added state_curr and state_want. @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.2 1997/02/09 16:00:50 alexis Exp alexis $"; d32 4 @ 1.2 log @More changes ... now works. @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.1 1997/02/01 21:52:17 alexis Exp alexis $"; d46 2 @ 1.1 log @Initial revision @ text @d4 1 a4 1 static char *ppplcd_h_rcs_id = "$Id: ppplcd.h,v 1.1 1997/01/31 14:43:34 alexis Exp alexis $"; a31 1 extern char chatfile[]; d35 2 @