3 // copyright: (C) 2000 by SuSE GmbH
4 // author: arvin@suse.de
5 // WvStreamsified by Patrick Patterson <ppatters@nit.ca>
31 // void setexec( const WvString name ) { executename = name; };
32 void setconnectmsg( WvStringParm name
) { connectmsg
= name
; };
34 void setdnstests (WvString
, WvString
);
35 void setcheckdns (int flag
) { do_check_dns
= flag
; }
36 void setcheckdfr (int flag
) { do_check_dfr
= flag
; }
40 // the returned buffer is only valid until the next call
41 char* analyse_line( const char *line
);
43 const int auth_failed();
47 // name of program to execute after successful connection
48 // WvString executename;
50 // message to display after connection has been setup
53 // time to wait before launch of executename
56 // regex to match `status = '
59 // regex to match quoted (not empty) text
68 int get_quotedtext(char *dest
, const char *line
);
73 // check defaultroute stuff
80 char route_buffer
[512];
81 int route_dev_col
, route_dest_col
, route_gw_col
;
82 int route_flags_col
, route_mask_col
;
85 int open_route_table ();
86 void close_route_table ();
87 int read_route_table (struct rtentry
*rt
);
88 int defaultroute_exists (struct rtentry
*rt
);
95 WvString dnstest1
, dnstest2
;
97 int check_dns_name( const char *name
);
103 #endif // __WVDIALMON_H