]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* check the buffersize while base64 encoding; and adjust it if needed.
[citadel.git] / webcit / webcit.h
index 4636e4f3146fd6e8c033a14bd078748af20d9be9..0ae981222f96f3a59d8bb16ba84a2b5dc9ca82b5 100644 (file)
@@ -453,6 +453,7 @@ void do_welcome(void);
 void do_logout(void);
 void display_main_menu(void);
 void display_aide_menu(void);
+void display_shutdown(void);
 void display_advanced_menu(void);
 void slrp_highest(void);
 void gotonext(void);
@@ -486,7 +487,7 @@ void output_headers(    int do_httpheaders,
 void wprintf(const char *format,...);
 void output_static(char *what);
 void print_menu_box(char* Title, char *Class, int nLines, ...);
-void stresc(char *target, char *strbuf, int nbsp, int nolinebreaks);
+long stresc(char *target, long tSize, char *strbuf, int nbsp, int nolinebreaks);
 void escputs(char *strbuf);
 void url(char *buf);
 void escputs1(char *strbuf, int nbsp, int nolinebreaks);
@@ -633,7 +634,7 @@ void do_tasks_view(void);
 void free_calendar_buffer(void);
 void calendar_summary_view(void);
 int load_msg_ptrs(char *servcmd, int with_headers);
-void CtdlEncodeBase64(char *dest, const char *source, size_t sourcelen, int linebreaks);
+size_t CtdlEncodeBase64(char **dest, const char *source, size_t sourcelen, size_t *destlen, int linebreaks);
 int CtdlDecodeBase64(char *dest, const char *source, size_t length);
 void free_attachments(struct wcsession *sess);
 void free_march_list(struct wcsession *wcf);