summaryrefslogtreecommitdiff
path: root/accel-pppd/pwdb.h
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-06-19 19:06:06 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-06-19 19:06:06 +0400
commit02b3fb2b24aacd90d535c2136a055f529d722974 (patch)
tree6243dd815869add07be2bad5846e7817b732ac59 /accel-pppd/pwdb.h
parentc553a7bbbc96d36ba4d0999bb172c7a926518eb1 (diff)
downloadaccel-ppp-02b3fb2b24aacd90d535c2136a055f529d722974.tar.gz
accel-ppp-02b3fb2b24aacd90d535c2136a055f529d722974.zip
general preparation for IPoE integration
Diffstat (limited to 'accel-pppd/pwdb.h')
-rw-r--r--accel-pppd/pwdb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/accel-pppd/pwdb.h b/accel-pppd/pwdb.h
index a1c2ced..8d8ab40 100644
--- a/accel-pppd/pwdb.h
+++ b/accel-pppd/pwdb.h
@@ -4,7 +4,7 @@
#include <stdarg.h>
#include "list.h"
-struct ppp_t;
+struct ap_session;
#define PWDB_SUCCESS 0
#define PWDB_DENIED 1
@@ -13,12 +13,12 @@ struct ppp_t;
struct pwdb_t
{
struct list_head entry;
- int (*check)(struct pwdb_t *, struct ppp_t *, const char *username, int type, va_list args);
- char* (*get_passwd)(struct pwdb_t *, struct ppp_t *, const char *username);
+ int (*check)(struct pwdb_t *, struct ap_session *, const char *username, int type, va_list args);
+ char* (*get_passwd)(struct pwdb_t *, struct ap_session *, const char *username);
};
-int pwdb_check(struct ppp_t *, const char *username, int type, ...);
-char *pwdb_get_passwd(struct ppp_t *, const char *username);
+int pwdb_check(struct ap_session *, const char *username, int type, ...);
+char *pwdb_get_passwd(struct ap_session *, const char *username);
void pwdb_register(struct pwdb_t *);
void pwdb_unregister(struct pwdb_t *);