citadel
About: Citadel is an advanced messaging and collaboration system for groupware and BBS applications (preferred OS: Linux).
![]() ![]() |
#include "../../sysdep.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <pwd.h>
#include <errno.h>
#include <sys/types.h>
#include <time.h>
#include <sys/wait.h>
#include <ctype.h>
#include <string.h>
#include <limits.h>
#include <libcitadel.h>
#include "../../citadel.h"
#include "../../server.h"
#include "../../sysdep_decls.h"
#include "../../citserver.h"
#include "../../support.h"
#include "../../config.h"
#include "../../user_ops.h"
#include "../../database.h"
#include "../../msgbase.h"
#include "../../room_ops.h"
#include "../../internet_addressing.h"
#include "serv_imap.h"
#include "imap_tools.h"
#include "imap_fetch.h"
#include "imap_misc.h"
#include "../../genstamp.h"
#include "../../ctdl_module.h"
Go to the source code of this file.
Functions | |
int | imap_do_copy (const char *destination_folder) |
void | imap_output_copyuid_response (citimap *Imap) |
void | imap_copy (int num_parms, ConstStr *Params) |
void | imap_uidcopy (int num_parms, ConstStr *Params) |
void | imap_do_append_flags (long new_msgnum, char *new_message_flags) |
void | imap_append (int num_parms, ConstStr *Params) |
void imap_append | ( | int | num_parms, |
ConstStr * | Params | ||
) |
Definition at line 266 of file imap_misc.c.
References CC, client_getln(), client_read_blob(), CM_Free(), CM_SetField(), convert_internet_message_buf(), CtdlDoIHavePermissionToPostInThisRoom(), CtdlGetConfigInt(), CtdlSubmitMsg(), CtdlUserGoto(), eAuthor, flush_output(), GLOBAL_UIDVALIDITY_VALUE, IAPrintf(), IMAP, imap_do_append_flags(), imap_free_transmitted_message(), imap_grabroom(), IReply, IReplyPrintf(), IUnbuffer(), POST_LOGGED_IN, QR_MAILBOX, ROOMNAMELEN, __citimap::selected, SIZ, and __citimap::TransmittedMessage.
Referenced by ctdl_module_init_imap().
void imap_copy | ( | int | num_parms, |
ConstStr * | Params | ||
) |
Definition at line 176 of file imap_misc.c.
References IAPrintf(), IAPuts, IMAP, imap_do_copy(), imap_is_message_set(), imap_output_copyuid_response(), imap_pick_range(), IReply, and IReplyPrintf().
Referenced by ctdl_module_init_imap().
void imap_do_append_flags | ( | long | new_msgnum, |
char * | new_message_flags | ||
) |
Definition at line 238 of file imap_misc.c.
References CtdlSetSeen(), ctdlsetseen_answered, and ctdlsetseen_seen.
Referenced by imap_append().
int imap_do_copy | ( | const char * | destination_folder | ) |
Definition at line 57 of file imap_misc.c.
References CtdlGetRoom(), CtdlSaveMsgPointersInRoom(), CtdlSetSeen(), ctdlsetseen_answered, ctdlsetseen_seen, __citimap::flags, free(), IMAP, IMAP_ANSWERED, imap_grabroom(), IMAP_SEEN, IMAP_SELECTED, malloc(), __citimap::msgids, __citimap::num_msgs, qrbuf, and ROOMNAMELEN.
Referenced by imap_copy(), and imap_uidcopy().
void imap_output_copyuid_response | ( | citimap * | Imap | ) |
Definition at line 152 of file imap_misc.c.
References __citimap::flags, GLOBAL_UIDVALIDITY_VALUE, IAPrintf(), IMAP_SELECTED, __citimap::msgids, and __citimap::num_msgs.
Referenced by imap_copy(), and imap_uidcopy().
void imap_uidcopy | ( | int | num_parms, |
ConstStr * | Params | ||
) |
Definition at line 206 of file imap_misc.c.
References IAPrintf(), IAPuts, IMAP, imap_do_copy(), imap_is_message_set(), imap_output_copyuid_response(), imap_pick_range(), and IReply.
Referenced by ctdl_module_init_imap().