2005-09-21 16:34:38 +00:00
|
|
|
/*
|
|
|
|
* Mbuni - Open Source MMS Gateway
|
|
|
|
*
|
|
|
|
* MMSBOX CFG: MMC configuration and misc. functions
|
|
|
|
*
|
|
|
|
* Copyright (C) 2003 - 2005, Digital Solutions Ltd. - http://www.dsmagic.com
|
|
|
|
*
|
|
|
|
* Paul Bagyenda <bagyenda@dsmagic.com>
|
|
|
|
*
|
|
|
|
* This program is free software, distributed under the terms of
|
|
|
|
* the GNU General Public License, with a few exceptions granted (see LICENSE)
|
|
|
|
*/
|
|
|
|
#ifndef __MMSBOX_INCLUDED__
|
|
|
|
#define __MMSBOX_INCLUDED__
|
|
|
|
#include "mmsbox_cfg.h"
|
|
|
|
|
|
|
|
extern int rstop;
|
2007-08-06 11:57:15 +00:00
|
|
|
void mms_dlr_url_put(Octstr *msgid, char *rtype, Octstr *mmc_gid, Octstr *dlr_url, Octstr *transid);
|
|
|
|
int mms_dlr_url_get(Octstr *msgid, char *rtype, Octstr *mmc_gid, Octstr **dlr_url, Octstr **transid);
|
2007-04-02 05:29:00 +00:00
|
|
|
void mms_dlr_url_remove(Octstr *msgid, char *rtype, Octstr *mmc_gid);
|
2007-09-19 13:06:26 +00:00
|
|
|
int mmsbox_send_report(Octstr *from, char *report_type,
|
|
|
|
Octstr *dlr_url, Octstr *status,
|
|
|
|
Octstr *msgid, Octstr *mmc_id, Octstr *mmc_gid,
|
|
|
|
Octstr *orig_transid, Octstr *uaprof,
|
|
|
|
time_t uaprof_tstamp);
|
2005-09-21 16:34:38 +00:00
|
|
|
void mmsc_receive_func(MmscGrp *m);
|
|
|
|
void mmsbox_outgoing_queue_runner(int *rstop);
|
|
|
|
|
2007-04-10 17:09:05 +00:00
|
|
|
/* Just a convenience, should go away in future! */
|
|
|
|
#define mmsbox_url_fetch_content mms_url_fetch_content
|
2005-09-21 16:34:38 +00:00
|
|
|
#endif
|