170 DavNodeData* node_data_new(DavSession *sn); |
170 DavNodeData* node_data_new(DavSession *sn); |
171 |
171 |
172 int dav_load(DavResource *res); |
172 int dav_load(DavResource *res); |
173 int dav_store(DavResource *res); |
173 int dav_store(DavResource *res); |
174 |
174 |
|
175 void get_property_namespace( |
|
176 DavContext *ctx, |
|
177 char *prefixed_name, |
|
178 char **ns, |
|
179 char **name); |
|
180 |
|
181 char* dav_get_property(DavResource *res, char *name); |
175 char* dav_get_property_ns(DavResource *res, char *ns, char *name); |
182 char* dav_get_property_ns(DavResource *res, char *ns, char *name); |
|
183 void dav_set_property(DavResource *res, char *name, char *value); |
176 void dav_set_property_ns(DavResource *res, char *ns, char *name, char *value); |
184 void dav_set_property_ns(DavResource *res, char *ns, char *name, char *value); |
177 void dav_remove_property_ns(DavResource *res, char *ns, char *name, char *value); |
185 void dav_remove_property(DavResource *res, char *name); |
|
186 void dav_remove_property_ns(DavResource *res, char *ns, char *name); |
178 |
187 |
179 |
188 |
180 |
189 |
181 void dav_set_content(DavResource *res, void *stream, dav_read_func read_func); |
190 void dav_set_content(DavResource *res, void *stream, dav_read_func read_func); |
182 void dav_set_content_data(DavResource *res, char *content, size_t length); |
191 void dav_set_content_data(DavResource *res, char *content, size_t length); |