2 * Copyright (c) 1987-2012 by the citadel.org team
4 * This program is open source software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
14 #define MAXURLS 50 /* Max embedded URL's per message */
16 extern char urls[MAXURLS][SIZ];
18 int ka_system(char *shc);
19 int entmsg(CtdlIPC *ipc, int is_reply, int c, int masquerade);
20 void readmsgs(CtdlIPC *ipc, enum MessageList c, enum MessageDirection rdir, int q);
21 void edit_system_message(CtdlIPC *ipc, char *which_message);
22 pid_t ka_wait(int *kstatus);
23 void list_urls(CtdlIPC *ipc);
24 int client_make_message(CtdlIPC *ipc,
25 char *filename, /* temporary file name */
26 char *recipient, /* NULL if it's not mail */
27 int anon_type, /* see MES_ types in header file */
34 char *load_message_from_file(FILE *src);
35 int file_checksum(char *filename);