diff options
author | Stef Walter <stef@memberwebs.com> | 2004-04-25 05:50:07 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-04-25 05:50:07 +0000 |
commit | 570c17aa3bb6a39030ebefc5618f0c3fa8cf0089 (patch) | |
tree | 34fd08eb06f92c4aadec308151ddc8fc80dcab08 /daemon/httpauthd.h | |
parent | 36ab0775e1c5ec4352f36074cea8bfbe49302b80 (diff) |
Debugging of simple authentication handler
Diffstat (limited to 'daemon/httpauthd.h')
-rw-r--r-- | daemon/httpauthd.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/daemon/httpauthd.h b/daemon/httpauthd.h index 55a4d90..7f51895 100644 --- a/daemon/httpauthd.h +++ b/daemon/httpauthd.h @@ -6,11 +6,13 @@ * Memory Buffers */ +struct ha_buffer_internal; + /* A buffer which owns memory */ typedef struct ha_buffer { - int _al; - char* _dt; + struct ha_buffer_internal* _ft; + struct ha_buffer_internal* _dt; char* _pp; char* _rp; } @@ -191,7 +193,7 @@ ha_context_t; * should be no need to change it unless we're * adding or removing commands */ -#define MAX_ARGS 6 +#define MAX_ARGS 4 /* * The maximum number of pertinent headers to read @@ -222,9 +224,9 @@ ha_header_t; #define REQTYPE_QUIT 1 #define REQTYPE_AUTH 2 -#define AUTH_ARG_CONN 0 -#define AUTH_ARG_METHOD 1 -#define AUTH_ARG_URI 2 +#define AUTH_ARG_CONN 1 +#define AUTH_ARG_METHOD 2 +#define AUTH_ARG_URI 3 /* A single request from client */ typedef struct ha_request |