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