wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / yawmppp / src / ycommon.h
blob9766a9db724a511bb84c43e6e1b060c17d13e1bf
2 #ifndef YAWMPPP_COMMON_H
3 #define YAWMPPP_COMMON_H
5 #define MAX_ISPS 40
7 struct LogStruct {
8 time_t start;
9 time_t end;
10 int status; /* 0=ok 1=error 2=crash */
11 char longname[128];
12 char shortname[16];
13 char phone[32];
14 char user[32];
17 void clean_guards(void);
18 void make_guards(void);
19 void write_log(void);
20 void warn_pref(void);
22 void open_ppp(void);
23 void close_ppp(void);
25 void write_pid_file(void);
26 void remove_pid_file(void);
27 void make_config_dir(void);
28 void grab_isp_info(int rof);
29 void run_pref_app(void);
30 void run_log_app(void);
32 int get_statistics (char *devname, long *ip, long *op, long *is, long *os);
33 int stillonline (char *ifs);
35 #endif