--- embedaddon/mpd/src/auth.h 2016/11/01 09:56:12 1.1.1.2 +++ embedaddon/mpd/src/auth.h 2021/03/17 00:39:23 1.1.1.3 @@ -240,8 +240,6 @@ struct auth { }; typedef struct auth *Auth; -struct radiusconf radius; /* RADIUS configuration */ - /* * Interface between the auth-backend (secret file, RADIUS, etc.) and Mpd's * internal structs. @@ -287,7 +285,7 @@ struct authdata { #endif char *downReason; /* Reason for link going down */ time_t last_up; /* Time this link last got up */ - PhysType phys_type; /* Device type descriptor */ + const struct phystype *phys_type; /* Device type descriptor */ int linkID; /* Absolute link number */ char peer_ident[64]; /* LCP ident received from peer */ struct in_addr peer_addr; /* currently assigned @@ -307,9 +305,6 @@ extern const struct cmdtab AuthSetCmds[]; * GLOBAL VARIABLES */ extern const u_char gMsoftZeros[32]; -extern int gMaxLogins; /* max number of concurrent logins per - * user */ -extern int gMaxLoginsCI; /* * FUNCTIONS @@ -327,7 +322,7 @@ AuthOutput(Link l, int proto, u_int code, u_int id, u_char eap_type); extern void AuthFinish(Link l, int which, int ok); extern void AuthCleanup(Link l); -extern int AuthStat(Context ctx, int ac, char *av[], void *arg); +extern int AuthStat(Context ctx, int ac, const char *const av[], const void *arg); extern void AuthAccountStart(Link l, int type); extern void AuthAccountTimeout(void *arg); extern AuthData AuthDataNew(Link l);