| 109 | } |
| 110 | |
| 111 | DAV_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 | |
| 131 | DAV_DECLARE(void) dav_register_liveprop_group(apr_pool_t *p, |
| 132 | const dav_liveprop_group *group) |
no test coverage detected