]> code.citadel.org Git - citadel.git/blobdiff - webcit/groupdav.h
* do linebuffered/non-blocking reads from http requests
[citadel.git] / webcit / groupdav.h
index 6fcc96ffaf86f3de33d677d8f1d334b0e5c7680b..42709a5b795a9d4ade63cd4fa208638ecf8c0930 100644 (file)
@@ -1,5 +1,35 @@
 /* $Id$ */
 
+
+/*
+ * Data passed back and forth between groupdav_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 groupdav_common_headers(void);
-void groupdav_main(struct httprequest *);
-void groupdav_get(char *);
+void groupdav_main(HashList *HTTPHeaders,
+                  StrBuf *DavPathname,
+                  StrBuf *DavMethod,
+                  StrBuf *dav_content_type,
+                  int dav_content_length,
+                  StrBuf *dav_content,
+                  int Offset);
+void groupdav_get(const char *dav_pathname);
+void groupdav_put(const char *dav_pathname, char *dav_ifmatch,
+                 const char *dav_content_type, StrBuf *dav_content,
+                 int offset);
+void groupdav_delete(StrBuf *dav_pathname, char *dav_ifmatch);
+void groupdav_propfind(const char *dav_pathname, int dav_depth, StrBuf *dav_content_type, StrBuf *dav_content, int offset);
+void groupdav_options(const char *dav_pathname);
+long locate_message_by_uid(char *);
+void groupdav_folder_list(void);
+void euid_escapize(char *, char *);
+void euid_unescapize(char *, char *);
+void groupdav_identify_host(void);