libidav/config.c

changeset 823
04c60a353331
parent 805
bff983370565
child 826
b6e9fd3f1951
equal deleted inserted replaced
822:f9e40f5c6daf 823:04c60a353331
816 816
817 dav_context_add_key(ctx, davkey); 817 dav_context_add_key(ctx, davkey);
818 } 818 }
819 return 0; 819 return 0;
820 } 820 }
821
822 int dav_config_register_namespaces(DavConfig *config, DavContext *ctx) {
823 DavCfgNamespace *ns = config->namespaces;
824 while(ns) {
825 dav_add_namespace(ctx, ns->prefix.ptr, ns->uri.ptr);
826 ns = ns->next;
827 }
828 return 0;
829 }

mercurial