Mailing list header changes (fuck you Google)
[citadel.git] / webcit / dav.h
1 /*
2  * Copyright (c) 1996-2013 by the citadel.org team
3  *
4  * This program is open source software.  You can redistribute it and/or
5  * modify it under the terms of the GNU General Public License, version 3.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  */
12
13
14 /*
15  * Data passed back and forth between dav_get() and its callback functions called by the MIME parser
16  */
17 struct epdata {
18         char desired_content_type_1[128];
19         char desired_content_type_2[128];
20         char found_section[128];
21         char charset[128];
22 };
23
24
25 void dav_common_headers(void);
26 void dav_main(void);
27 void dav_get(void);
28 void dav_put(void);
29 void dav_delete(void);
30 void dav_propfind(void);
31 void dav_options(void);
32 void dav_report(void);
33
34 long locate_message_by_uid(const char *);
35 void dav_folder_list(void);
36 void euid_escapize(char *, const char *);
37 void euid_unescapize(char *, const char *);
38 void dav_identify_host(void);
39 void dav_identify_hosthdr(void);
40
41 void RegisterDAVNamespace(const char * UrlString, 
42                           long UrlSLen, 
43                           const char *DisplayName, 
44                           long dslen, 
45                           WebcitHandlerFunc F, 
46                           WebcitRESTDispatchID RID,
47                           long Flags);