2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2003 Net Integration Technologies, Inc.
5 * Re-write of wvpapsecrets.h. This one supports CHAP as well, and is also
12 #include "wvconfemu.h"
13 #include "wvlinklist.h"
16 #define PAP_SECRETS "/etc/ppp/pap-secrets"
17 #define CHAP_SECRETS "/etc/ppp/chap-secrets"
18 #define REMOTE_SECRET "wvdial"
25 : pap_success( true ), chap_success( true ) {}
28 void put_secret( WvString _username
, WvString _password
, WvString _remote
);
30 { return( pap_success
); }
31 bool isok_chap() const
32 { return( chap_success
); }
35 WvStringList contents
;
39 bool load_file( char * filename
);
40 bool write_file( char * filename
);
41 void do_secret( const char * username
, const char * password
,
42 const char * remote
);
45 #endif // __WVPAPCHAP_H