summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/httpauthd.h')
-rw-r--r--daemon/httpauthd.h14
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