1
0
Fork 0
mbuni/mbuni/mmlib/mms_mmbox.h

15 lines
663 B
C

#ifndef __MMS_MMBOX__INCLUDED__
#define __MMS_MMBOX__INCLUDED__
#include "mms_msg.h"
/* Initialise the root of the mmbox. Should be called once from load settings. */
int mmbox_root_init(char *mmbox_root);
Octstr *mms_mmbox_addmsg(char *mmbox_root, char *user, MmsMsg *msg, Octstr *dfltstate);
int mms_mmbox_modmsg(char *mmbox_root, char *user, Octstr *msgref,
Octstr *state, List *flag_cmds);
int mms_mmbox_delmsg(char *mmbox_root, char *user, Octstr *msgref);
List *mms_mmbox_search(char *mmbox_root, char *user,
List *state, List *flag_cmds, int start, int limit);
MmsMsg *mms_mmbox_get(char *mmbox_root, char *user, Octstr *msgref);
#endif