2 #ifndef YAWMPPP_ISPRC_H
3 #define YAWMPPP_ISPRC_H
5 #define KEY_LONGNAME "LongName"
6 #define KEY_SHORTNAME "ShortName"
7 #define KEY_STARTACTION "StartAction"
8 #define KEY_STOPACTION "StopAction"
9 #define KEY_SPEEDACTION "SpeedAction"
10 #define KEY_IFDOWNACTION "IfDownAction"
11 #define KEY_USER "User"
12 #define KEY_PHONE "Phone"
14 #define KEY_PPP_OVER "PPPOptionsOverride"
15 #define KEY_PPP_DEFAULTROUTE "PPPDefaultRoute"
16 #define KEY_PPP_PASSIVE "PPPPassive"
17 #define KEY_PPP_NOAUTH "PPPNoAuth"
18 #define KEY_PPP_NOIPDEFAULT "PPPNoIPDefault"
20 #define KEY_PPP_CHAP "PPPChap"
21 #define KEY_PPP_PAP "PPPPap"
23 #define KEY_NOLOGIN "NoLogin"
25 #define KEY_PPPSTUFF "PPPLine"
26 #define KEY_CHATSTUFF "ChatFile"
28 #define AUTH_REQUIRE 0
30 #define AUTH_DONTCARE 2
43 struct YAWMPPP_ISP_INFO
{
46 char StartAction
[512];
48 char SpeedAction
[512];
49 char IfDownAction
[512];
61 GetISPInfo(char *rcname
,struct YAWMPPP_ISP_INFO
*wii
,int max
);