diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 17:07:39 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 17:07:39 +0000 |
| commit | 37da2899f40661e3e9631e497da8dc59b971cbd0 (patch) | |
| tree | cbc6d4680e347d906f5fa7fca73214418741df72 /appl/cmd/ip/ppp/pppclient.m | |
| parent | 54bc8ff236ac10b3eaa928fd6bcfc0cdb2ba46ae (diff) | |
20060303a
Diffstat (limited to 'appl/cmd/ip/ppp/pppclient.m')
| -rw-r--r-- | appl/cmd/ip/ppp/pppclient.m | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/appl/cmd/ip/ppp/pppclient.m b/appl/cmd/ip/ppp/pppclient.m new file mode 100644 index 00000000..23396af4 --- /dev/null +++ b/appl/cmd/ip/ppp/pppclient.m @@ -0,0 +1,31 @@ + +PPPClient: module { + PATH: con "/dis/ip/ppp/pppclient.dis"; + + PPPInfo: adt { + ipaddr: string; + ipmask: string; + peeraddr: string; + maxmtu: string; + username: string; + password: string; + }; + + connect: fn( mi: ref Modem->ModemInfo, number: string, + scriptinfo: ref Script->ScriptInfo, + pppinfo: ref PPPInfo, logchan: chan of int); + reset: fn(); + + lasterror :string; + + s_Error: con -666; + s_Initialized, # Module Initialized + s_StartModem, # Modem Initialized + s_SuccessModem, # Modem Connected + s_StartScript, # Script Executing + s_SuccessScript, # Script Executed Sucessfully + s_StartPPP, # PPP Started + s_LoginPPP, # CHAP/PAP Authentication + s_SuccessPPP, # PPP Session Established + s_Done: con iota; # PPPClient Cleaningup & Exiting +}; |
