ref: e8b46f69724d161d20f2eda076ec7e415b487a21
parent: f70ebd8e628b12973b12da12fa83aa67f39f2efa
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jan 1 23:59:44 EST 2018
ape: update auth.h header for APE
--- a/sys/include/ape/auth.h
+++ b/sys/include/ape/auth.h
@@ -99,15 +99,13 @@
extern int noworld(char*);
extern int amount(int, char*, int, char*);
-/* these two may get generalized away -rsc */
extern int login(char*, char*, char*);
-extern int httpauth(char*, char*);
typedef struct Attr Attr;
enum {
AttrNameval, /* name=val -- when matching, must have name=val */
AttrQuery, /* name? -- when matching, must be present */
- AttrDefault, /* name:=val -- when matching, if present must match INTERNAL */
+ AttrDefault, /* name=val -- when matching, if present must match INTERNAL */
};
struct Attr
{
@@ -146,7 +144,6 @@
extern Attr* auth_attr(AuthRpc *rpc);
extern void auth_freerpc(AuthRpc *rpc);
extern uint auth_rpc(AuthRpc *rpc, char *verb, void *a, int n);
-extern int auth_wep(char*, char*, ...);
#pragma varargck argpos auth_proxy 3
#pragma varargck argpos auth_challenge 1
#pragma varargck argpos auth_respond 8