72 |
72 |
73 void resource_set_href(DavResource *res, sstr_t href); |
73 void resource_set_href(DavResource *res, sstr_t href); |
74 |
74 |
75 void resource_set_info(DavResource *res, char *href_str); |
75 void resource_set_info(DavResource *res, char *href_str); |
76 DavResourceData* resource_data_new(DavSession *sn); |
76 DavResourceData* resource_data_new(DavSession *sn); |
77 void resource_add_property(DavResource *res, char *ns, char *name, xmlNode *val); |
77 void resource_add_property(DavResource *res, const char *ns, const char *name, xmlNode *val); |
78 DavXmlNode* resource_get_property(DavResource *res, char *ns, char *name); |
78 DavXmlNode* resource_get_property(DavResource *res, const char *ns, const char *name); |
79 DavXmlNode* resource_get_property_k(DavResource *res, UcxKey key); |
79 DavXmlNode* resource_get_property_k(DavResource *res, UcxKey key); |
80 void resource_add_child(DavResource *parent, DavResource *child); |
80 void resource_add_child(DavResource *parent, DavResource *child); |
81 void resource_add_ordered_child(DavResource *parent, DavResource *child, UcxList *ordercr); |
81 void resource_add_ordered_child(DavResource *parent, DavResource *child, UcxList *ordercr); |
82 int resource_add_crypto_info(DavSession *sn, char *href, char *name, char *hash); |
82 int resource_add_crypto_info(DavSession *sn, const char *href, const char *name, const char *hash); |
83 |
83 |
84 UcxKey dav_property_key_a(UcxAllocator *a, char *ns, char *name); |
84 sstr_t dav_property_key_a(UcxAllocator *a, const char *ns, const char *name); |
85 |
85 |
86 #ifdef __cplusplus |
86 #ifdef __cplusplus |
87 } |
87 } |
88 #endif |
88 #endif |
89 |
89 |