diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2016-05-20 17:56:37 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-06-02 11:02:53 +0300 |
commit | da08ff99edc943d123b9c6e7ff8ead499cd6dce8 (patch) | |
tree | 0207080ac546da3189a59822993ecce7d05a5a87 /accel-pppd/include | |
parent | 1073d1679887b4afd39347386016ded54065a642 (diff) | |
download | accel-ppp-xebd-da08ff99edc943d123b9c6e7ff8ead499cd6dce8.tar.gz accel-ppp-xebd-da08ff99edc943d123b9c6e7ff8ead499cd6dce8.zip |
ppp: make include/ppp_auth.h a symlink
include/ppp_auth.h used to be a symlink to ppp/ppp_auth.h, until it was
made a copy by ebbd6f580322 ("fix typo (successed -> succeeded)").
Therefore, changes to ppp/ppp_auth.h aren't visible to files including
ppp_auth.h anymore. These files have already diverged (just a
whitespace fix for now), so let's restore the original symlink before
more changes occur.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/include')
l---------[-rw-r--r--] | accel-pppd/include/ppp_auth.h | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/accel-pppd/include/ppp_auth.h b/accel-pppd/include/ppp_auth.h index 839a881..527c853 100644..120000 --- a/accel-pppd/include/ppp_auth.h +++ b/accel-pppd/include/ppp_auth.h @@ -1,37 +1 @@ -#ifndef PPP_AUTH_H -#define PPP_AUTH_H - -#include "list.h" - -struct ppp_auth_handler_t; - -struct auth_data_t -{ - struct list_head entry; - int proto; - int state; - struct ppp_auth_handler_t *h; -}; - -struct ppp_auth_handler_t -{ - struct list_head entry; - const char *name; - struct auth_data_t* (*init)(struct ppp_t*); - int (*send_conf_req)(struct ppp_t*, struct auth_data_t*, uint8_t*); - int (*recv_conf_req)(struct ppp_t*, struct auth_data_t*, uint8_t*); - int (*start)(struct ppp_t*, struct auth_data_t*); - int (*finish)(struct ppp_t*, struct auth_data_t*); - void (*free)(struct ppp_t*,struct auth_data_t*); - int (*check)(uint8_t *); - int (*restart)(struct ppp_t*,struct auth_data_t*); -}; - -int ppp_auth_register_handler(struct ppp_auth_handler_t*); - -int ppp_auth_succeeded(struct ppp_t *ppp, char *username); -void ppp_auth_failed(struct ppp_t *ppp, char *username); -int ppp_auth_restart(struct ppp_t *ppp); - -#endif - +../ppp/ppp_auth.h
\ No newline at end of file |