src/server/util/object.c

changeset 385
a1f4cb076d2f
parent 261
f2c772336ecd
child 415
d938228c382e
equal deleted inserted replaced
210:21274e5950af 385:a1f4cb076d2f
36 #include "../daemon/func.h" 36 #include "../daemon/func.h"
37 37
38 38
39 39
40 httpd_object* object_new(pool_handle_t *pool, char *name) { 40 httpd_object* object_new(pool_handle_t *pool, char *name) {
41 // TODO: Speicherverwaltung
42 httpd_object *obj = pool_malloc(pool, sizeof(httpd_object)); 41 httpd_object *obj = pool_malloc(pool, sizeof(httpd_object));
43 obj->pool = pool; 42 obj->pool = pool;
44 obj->name = name; 43 obj->name = name;
45 obj->path = NULL; 44 obj->path = NULL;
46 45

mercurial