Back to index

citadel  8.12
messages.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1987-2012 by the citadel.org team
00003  *
00004  *  This program is open source software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License version 3.
00006  *
00007  * This program is distributed in the hope that it will be useful,
00008  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00009  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00010  * GNU General Public License for more details.
00011  */
00012 
00013 
00014 #define MAXURLS             50     /* Max embedded URL's per message */
00015 extern int num_urls;
00016 extern char urls[MAXURLS][SIZ];
00017 
00018 int ka_system(char *shc);
00019 int entmsg(CtdlIPC *ipc, int is_reply, int c, int masquerade);
00020 void readmsgs(CtdlIPC *ipc, enum MessageList c, enum MessageDirection rdir, int q);
00021 void edit_system_message(CtdlIPC *ipc, char *which_message);
00022 pid_t ka_wait(int *kstatus);
00023 void list_urls(CtdlIPC *ipc);
00024 int client_make_message(CtdlIPC *ipc,
00025                      char *filename,             /* temporary file name */
00026                      char *recipient,     /* NULL if it's not mail */
00027                      int anon_type,              /* see MES_ types in header file */
00028                      int format_type,
00029                      int mode,
00030                      char *subject,
00031                      int subject_required
00032 );
00033 void citedit(FILE *);
00034 char *load_message_from_file(FILE *src);
00035 int file_checksum(char *filename);