1 2 3 4 5 6 7 8 9 10 11 12
#include "pwdb.h" #include "ppp.h" __export int pwdb_check(struct ppp_t *ppp,const char *username,const char *password) { return 0; } __export char *pwdb_get_passwd(struct ppp_t *ppp, const char *username) { return strdup("test"); }