154 if(!davconfig) { |
154 if(!davconfig) { |
155 fprintf(stderr, "Cannot load config.xml\n"); |
155 fprintf(stderr, "Cannot load config.xml\n"); |
156 return 1; |
156 return 1; |
157 } |
157 } |
158 |
158 |
|
159 if(dav_config_register_namespaces(davconfig, ctx)) { |
|
160 return 1; |
|
161 } |
|
162 |
159 return dav_config_register_keys(davconfig, ctx, load_key_file); |
163 return dav_config_register_keys(davconfig, ctx, load_key_file); |
160 } |
164 } |
161 |
165 |
162 DavConfig* get_config(void) { |
166 DavConfig* get_config(void) { |
163 return davconfig; |
167 return davconfig; |