112 DavProperty *property = pool_malloc(pool, sizeof(DavProperty)); |
112 DavProperty *property = pool_malloc(pool, sizeof(DavProperty)); |
113 property->xmlns = xmlnsmap_put(p->rq->nsmap, (char*)ns); |
113 property->xmlns = xmlnsmap_put(p->rq->nsmap, (char*)ns); |
114 property->name = pool_strdup(pool, (const char*)name); |
114 property->name = pool_strdup(pool, (const char*)name); |
115 |
115 |
116 // add property to DavRequest |
116 // add property to DavRequest |
117 UcxDlist *elm = pool_malloc(pool, sizeof(UcxDlist)); |
117 UcxList *elm = pool_malloc(pool, sizeof(UcxList)); |
118 elm->prev = NULL; |
118 elm->prev = NULL; |
119 elm->next = NULL; |
119 elm->next = NULL; |
120 elm->data = property; |
120 elm->data = property; |
121 p->rq->properties = ucx_dlist_concat(p->rq->properties, elm); |
121 p->rq->properties = ucx_list_concat(p->rq->properties, elm); |
122 } |
122 } |
123 |
123 |
124 return 0; |
124 return 0; |
125 } |
125 } |
126 |
126 |