Renderers cleanup part 2
[citadel.git] / textclient / src / include / messages.h
1 /*
2  * Copyright (c) 1987-2012 by the citadel.org team
3  *
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.
6  *
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.
11  */
12
13
14 #define MAXURLS         50      /* Max embedded URL's per message */
15 extern int num_urls;
16 extern char urls[MAXURLS][SIZ];
17
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 */
28                         int format_type,
29                         int mode,
30                         char *subject,
31                         int subject_required
32 );
33 void citedit(FILE *);
34 char *load_message_from_file(FILE *src);
35 int file_checksum(char *filename);