src/server/util/object.h

changeset 421
437562f5681d
parent 420
0b42a35d6add
child 422
76f2f5d532d0
--- a/src/server/util/object.h	Tue Nov 08 22:35:18 2022 +0100
+++ b/src/server/util/object.h	Wed Nov 09 10:37:52 2022 +0100
@@ -69,6 +69,7 @@
 struct dtable {
     directive **dirs;
     int       ndir;
+    int       alloc;
 };
 
 struct httpd_object {
@@ -132,7 +133,7 @@
 /*
  * adds a directive to the object with the type dt (enum RequestPhase)
  */
-void object_add_directive(httpd_object *obj, directive *dir, int dt);
+int object_add_directive(httpd_object *obj, directive *dir, int dt);
 
 /*
  * get a list of all directives with a specific type

mercurial