Lines Matching refs:req_props
1220 webdav_properties *req_props; in URIHANDLER_FUNC() local
1237 req_props = NULL; in URIHANDLER_FUNC()
1266 req_props = calloc(1, sizeof(*req_props)); in URIHANDLER_FUNC()
1287 for (i = 0; i < req_props->used; i++) { in URIHANDLER_FUNC()
1288 free(req_props->ptr[i]->ns); in URIHANDLER_FUNC()
1289 free(req_props->ptr[i]->prop); in URIHANDLER_FUNC()
1290 free(req_props->ptr[i]); in URIHANDLER_FUNC()
1292 free(req_props->ptr); in URIHANDLER_FUNC()
1293 free(req_props); in URIHANDLER_FUNC()
1300 if (req_props->size == 0) { in URIHANDLER_FUNC()
1301 req_props->size = 16; in URIHANDLER_FUNC()
1302 req_props->ptr = malloc(sizeof(*(req_props->ptr)) * req_props->size); in URIHANDLER_FUNC()
1303 } else if (req_props->used == req_props->size) { in URIHANDLER_FUNC()
1304 req_props->size += 16; in URIHANDLER_FUNC()
1305 req_props->ptr = realloc(req_props->ptr, sizeof(*(req_props->ptr)) * req_props->size); in URIHANDLER_FUNC()
1308 req_props->ptr[req_props->used] = malloc(sizeof(webdav_property)); in URIHANDLER_FUNC()
1309 …req_props->ptr[req_props->used]->ns = (char *)xmlStrdup(prop->ns ? prop->ns->href : (xmlChar *)""); in URIHANDLER_FUNC()
1310 req_props->ptr[req_props->used]->prop = (char *)xmlStrdup(prop->name); in URIHANDLER_FUNC()
1311 req_props->used++; in URIHANDLER_FUNC()
1360 webdav_get_props(srv, con, p, &(con->physical), req_props, prop_200, prop_404); in URIHANDLER_FUNC()
1429 webdav_get_props(srv, con, p, &d, req_props, prop_200, prop_404); in URIHANDLER_FUNC()
1473 if (req_props) { in URIHANDLER_FUNC()
1475 for (i = 0; i < req_props->used; i++) { in URIHANDLER_FUNC()
1476 free(req_props->ptr[i]->ns); in URIHANDLER_FUNC()
1477 free(req_props->ptr[i]->prop); in URIHANDLER_FUNC()
1478 free(req_props->ptr[i]); in URIHANDLER_FUNC()
1480 free(req_props->ptr); in URIHANDLER_FUNC()
1481 free(req_props); in URIHANDLER_FUNC()