105 struct WSText { |
105 struct WSText { |
106 char *str; |
106 char *str; |
107 size_t length; |
107 size_t length; |
108 }; |
108 }; |
109 |
109 |
110 struct WebdavProperty { |
|
111 WSNamespace *namespace; |
|
112 |
|
113 const char *name; |
|
114 |
|
115 char *lang; |
|
116 |
|
117 union { |
|
118 WSXmlNode *node; |
|
119 WSXmlData *data; |
|
120 WSText text; |
|
121 } value; |
|
122 WebdavValueType vtype; |
|
123 }; |
|
124 |
|
125 struct WSXmlData { |
110 struct WSXmlData { |
126 WebdavNSList *namespaces; |
111 WebdavNSList *namespaces; |
127 char *data; |
112 char *data; |
128 size_t length; |
113 size_t length; |
|
114 }; |
|
115 |
|
116 struct WebdavProperty { |
|
117 WSNamespace *namespace; |
|
118 |
|
119 const char *name; |
|
120 |
|
121 char *lang; |
|
122 |
|
123 union { |
|
124 WSXmlNode *node; |
|
125 WSXmlData data; |
|
126 WSText text; |
|
127 } value; |
|
128 WebdavValueType vtype; |
129 }; |
129 }; |
130 |
130 |
131 struct WebdavPList { |
131 struct WebdavPList { |
132 WebdavProperty *property; |
132 WebdavProperty *property; |
133 WebdavPList *prev; |
133 WebdavPList *prev; |