dav/webdav.h

changeset 27
e584c351b402
parent 26
146171b57e69
child 29
938957a4eea7
equal deleted inserted replaced
26:146171b57e69 27:e584c351b402
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef NODE_H 29 #ifndef WEBDAV_H
30 #define NODE_H 30 #define WEBDAV_H
31 31
32 #include <inttypes.h> 32 #include <inttypes.h>
33 #include <ucx/map.h> 33 #include <ucx/map.h>
34 #include <ucx/mempool.h> 34 #include <ucx/mempool.h>
35 #include <ucx/list.h> 35 #include <ucx/list.h>
36 #include <ucx/buffer.h> 36 #include <ucx/buffer.h>
37 #include <curl/curl.h> 37 #include <curl/curl.h>
38 #include <libxml/tree.h> 38 #include <libxml/tree.h>
39 #include "davql.h"
40 39
41 #ifdef __cplusplus 40 #ifdef __cplusplus
42 extern "C" { 41 extern "C" {
43 #endif 42 #endif
44 43
47 typedef struct DavResource DavResource; 46 typedef struct DavResource DavResource;
48 typedef struct DavRequest DavRequest; 47 typedef struct DavRequest DavRequest;
49 typedef struct DavNamespace DavNamespace; 48 typedef struct DavNamespace DavNamespace;
50 typedef struct DavNodeData DavNodeData; 49 typedef struct DavNodeData DavNodeData;
51 typedef struct DavProperty DavProperty; 50 typedef struct DavProperty DavProperty;
51
52 #include "davql.h"
52 53
53 typedef size_t(*dav_read_func)(void*, size_t, size_t, void*); 54 typedef size_t(*dav_read_func)(void*, size_t, size_t, void*);
54 typedef size_t(*dav_write_func)(const void*, size_t, size_t, void*); 55 typedef size_t(*dav_write_func)(const void*, size_t, size_t, void*);
55 56
56 enum DavError { 57 enum DavError {
197 198
198 #ifdef __cplusplus 199 #ifdef __cplusplus
199 } 200 }
200 #endif 201 #endif
201 202
202 #endif /* NODE_H */ 203 #endif /* WEBDAV_H */
203 204

mercurial