MCPcopy Create free account
hub / github.com/apache/httpd / dav_get_liveprop_info

Function dav_get_liveprop_info

modules/dav/main/liveprop.c:111–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111DAV_DECLARE(long) dav_get_liveprop_info(int propid,
112 const dav_liveprop_group *group,
113 const dav_liveprop_spec **info)
114{
115 const dav_liveprop_spec *scan;
116
117 for (scan = group->specs; scan->name != NULL; ++scan) {
118 if (scan->propid == propid) {
119 *info = scan;
120
121 /* map the provider-local NS into a global NS index */
122 return dav_get_liveprop_ns_index(group->namespace_uris[scan->ns]);
123 }
124 }
125
126 /* assert: should not reach this point */
127 *info = NULL;
128 return 0;
129}
130
131DAV_DECLARE(void) dav_register_liveprop_group(apr_pool_t *p,
132 const dav_liveprop_group *group)

Callers 4

dav_core_insert_propFunction · 0.85
dav_core_is_writableFunction · 0.85
dav_fs_insert_propFunction · 0.85
dav_fs_is_writableFunction · 0.85

Calls 1

Tested by

no test coverage detected