1
0
Fork 0
mbuni/mbuni/mmsbox/mmsbox.h

33 lines
1.2 KiB
C
Raw Normal View History

2005-09-21 16:34:38 +00:00
/*
* Mbuni - Open Source MMS Gateway
*
* MMSBOX CFG: MMC configuration and misc. functions
*
2008-07-10 09:46:58 +00:00
* Copyright (C) 2003 - 2008, Digital Solutions Ltd. - http://www.dsmagic.com
2005-09-21 16:34:38 +00:00
*
* 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"
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);
2008-11-21 05:19:43 +00:00
Octstr *mmsbox_get_report_info(MmsMsg *m, MmscGrp *mmsc, Octstr *out_mmc_id,
char *report_type,
Octstr *status, List *qhdr, Octstr *uaprof,
time_t uaprof_tstamp,
Octstr *msgid);
2005-09-21 16:34:38 +00:00
void mmsc_receive_func(MmscGrp *m);
2010-05-26 10:36:27 +00:00
void mmsbox_outgoing_queue_runner(volatile sig_atomic_t *rstop);
2010-10-26 10:18:13 +00:00
void mm4_receive_func(int *sock);
2011-03-24 12:58:11 +00:00
void handle_mm1_mt_requests(MmscGrp *m); /* MM1 loop */
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