]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* Changed decode_base64() to CtdlDecodeBase64() to avoid conflict with
[citadel.git] / webcit / webcit.h
index 4aac82df13adc3984ea2b00c16c34bbf7ebd91f0..7453c62a8e8215850e5b7226097999ffb88632e5 100644 (file)
@@ -1,6 +1,6 @@
 /* $Id$ */
 
-#ifdef WITH_ZLIB
+#ifdef HAVE_ZLIB_H
 #include <zlib.h>
 #endif
 
@@ -168,7 +168,7 @@ struct wcsession {
        char this_page[SIZ];            /* address of current page */
        char http_host[SIZ];            /* HTTP Host: header */
        char *preferences;
-#ifdef WITH_ZLIB
+#ifdef HAVE_ZLIB_H
        int gzcompressed;               /* nonzero if compressed output */
        gzFile gzfd;                    /* stream to send compressed */
 #endif
@@ -308,7 +308,7 @@ char *memreadline(char *start, char *buf, int maxlen);
 int num_tokens (char *source, char tok);
 void extract_token(char *dest, char *source, int parmnum, char separator);
 void remove_token(char *source, int parmnum, char separator);
-int decode_base64(char *dest, char *source, size_t length);
+int CtdlDecodeBase64(char *dest, char *source, size_t length);
 char *load_mimepart(long msgnum, char *partnum);
 int pattern2(char *search, char *patn);
 void do_edit_vcard(long, char *, char *);
@@ -341,3 +341,4 @@ void do_listsub(void);
 void toggle_self_service(void);
 void summary(void);
 ssize_t write(int fd, const void *buf, size_t count);
+void cal_process_attachment(char *part_source);