]> code.citadel.org Git - citadel.git/blobdiff - webcit/dav.h
Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / dav.h
diff --git a/webcit/dav.h b/webcit/dav.h
new file mode 100644 (file)
index 0000000..3426c81
--- /dev/null
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 1996-2013 by the citadel.org team
+ *
+ * This program is open source software.  You can redistribute it and/or
+ * modify it under the terms of the GNU General Public License, version 3.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+
+/*
+ * Data passed back and forth between dav_get() and its callback functions called by the MIME parser
+ */
+struct epdata {
+       char desired_content_type_1[128];
+       char desired_content_type_2[128];
+       char found_section[128];
+       char charset[128];
+};
+
+
+void dav_common_headers(void);
+void dav_main(void);
+void dav_get(void);
+void dav_put(void);
+void dav_delete(void);
+void dav_propfind(void);
+void dav_options(void);
+void dav_report(void);
+
+long locate_message_by_uid(const char *);
+void dav_folder_list(void);
+void euid_escapize(char *, const char *);
+void euid_unescapize(char *, const char *);
+void dav_identify_host(void);
+void dav_identify_hosthdr(void);
+
+void RegisterDAVNamespace(const char * UrlString, 
+                         long UrlSLen, 
+                         const char *DisplayName, 
+                         long dslen, 
+                         WebcitHandlerFunc F, 
+                         WebcitRESTDispatchID RID,
+                         long Flags);