82b532192f15f2fd6a7220cf8e30b3ed6490f65e
[citadel.git] / webcit / groupdav.h
1 /* $Id$ */
2
3
4 /*
5  * Data passed back and forth between groupdav_get() and its
6  * callback functions called by the MIME parser
7  */
8 struct epdata {
9         char desired_content_type_1[128];
10         char desired_content_type_2[128];
11         char found_section[128];
12         char charset[128];
13 };
14
15
16 void groupdav_common_headers(void);
17 void groupdav_main(HashList *HTTPHeaders,
18                    StrBuf *DavPathname,
19                    StrBuf *dav_content_type,
20                    int dav_content_length,
21                    StrBuf *dav_content,
22                    int Offset);
23 void groupdav_get(StrBuf *dav_pathname);
24 void groupdav_put(StrBuf *dav_pathname, char *dav_ifmatch,
25                   const char *dav_content_type, StrBuf *dav_content,
26                   int offset);
27 void groupdav_delete(StrBuf *dav_pathname, char *dav_ifmatch);
28 void groupdav_propfind(StrBuf *dav_pathname, int dav_depth, StrBuf *dav_content_type, StrBuf *dav_content, int offset);
29 void groupdav_options(StrBuf *dav_pathname);
30 long locate_message_by_uid(const char *);
31 void groupdav_folder_list(void);
32 void euid_escapize(char *, const char *);
33 void euid_unescapize(char *, const char *);
34 void groupdav_identify_host(void);