libidav/resource.h

changeset 587
3c917df041b8
parent 505
481802342fdf
child 605
bbc66c72661a
equal deleted inserted replaced
586:b45719a52ea6 587:3c917df041b8
42 UcxMap *properties; 42 UcxMap *properties;
43 UcxList *set; 43 UcxList *set;
44 UcxList *remove; 44 UcxList *remove;
45 45
46 /* 46 /*
47 * properties encapsulated in a crypto-prop property or NULL
48 */
49 UcxMap *crypto_properties;
50
51 /*
47 * char* or stream 52 * char* or stream
48 */ 53 */
49 void *content; 54 void *content;
50 /* 55 /*
51 * if NULL, content is a char* 56 * if NULL, content is a char*
81 void resource_add_ordered_child(DavResource *parent, DavResource *child, UcxList *ordercr); 86 void resource_add_ordered_child(DavResource *parent, DavResource *child, UcxList *ordercr);
82 int resource_add_crypto_info(DavSession *sn, const char *href, const char *name, const char *hash); 87 int resource_add_crypto_info(DavSession *sn, const char *href, const char *name, const char *hash);
83 88
84 sstr_t dav_property_key_a(UcxAllocator *a, const char *ns, const char *name); 89 sstr_t dav_property_key_a(UcxAllocator *a, const char *ns, const char *name);
85 90
91 DavXmlNode* create_crypto_prop(DavSession *sn, UcxMap *properties);
92 UcxMap* parse_crypto_prop(DavSession *sn, DavXmlNode *node);
93
86 #ifdef __cplusplus 94 #ifdef __cplusplus
87 } 95 }
88 #endif 96 #endif
89 97
90 #endif /* RESOURCE_H */ 98 #endif /* RESOURCE_H */

mercurial