130 void object_free(httpd_object *obj); |
131 void object_free(httpd_object *obj); |
131 |
132 |
132 /* |
133 /* |
133 * adds a directive to the object with the type dt (enum RequestPhase) |
134 * adds a directive to the object with the type dt (enum RequestPhase) |
134 */ |
135 */ |
135 void object_add_directive(httpd_object *obj, directive *dir, int dt); |
136 int object_add_directive(httpd_object *obj, directive *dir, int dt); |
136 |
137 |
137 /* |
138 /* |
138 * get a list of all directives with a specific type |
139 * get a list of all directives with a specific type |
139 */ |
140 */ |
140 #define object_get_dtable(obj,type) &obj->dt[type]; |
141 #define object_get_dtable(obj,type) &obj->dt[type]; |