* do linebuffered/non-blocking reads from http requests
[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 *DavMethod,
20                    StrBuf *dav_content_type,
21                    int dav_content_length,
22                    StrBuf *dav_content,
23                    int Offset);
24 void groupdav_get(const char *dav_pathname);
25 void groupdav_put(const char *dav_pathname, char *dav_ifmatch,
26                   const char *dav_content_type, StrBuf *dav_content,
27                   int offset);
28 void groupdav_delete(StrBuf *dav_pathname, char *dav_ifmatch);
29 void groupdav_propfind(const char *dav_pathname, int dav_depth, StrBuf *dav_content_type, StrBuf *dav_content, int offset);
30 void groupdav_options(const char *dav_pathname);
31 long locate_message_by_uid(char *);
32 void groupdav_folder_list(void);
33 void euid_escapize(char *, char *);
34 void euid_unescapize(char *, char *);
35 void groupdav_identify_host(void);