From 189e6e8b737a6b1dc67987ebb627742af9fd1ce1 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Wed, 21 Sep 2005 16:34:38 +0000 Subject: [PATCH] adding mmsbox.h to cvs --- mbuni/mmsbox/mmsbox.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 mbuni/mmsbox/mmsbox.h diff --git a/mbuni/mmsbox/mmsbox.h b/mbuni/mmsbox/mmsbox.h new file mode 100644 index 0000000..a311b6e --- /dev/null +++ b/mbuni/mmsbox/mmsbox.h @@ -0,0 +1,27 @@ +/* + * 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 + * + * 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; +void mms_dlr_url_put(Octstr *msgid, char *rtype, Octstr *mmc_id, Octstr *dlr_url); +Octstr *mms_dlr_url_get(Octstr *msgid, char *rtype, Octstr *mmc_id); +void mms_dlr_url_remove(Octstr *msgid, char *rtype, Octstr *mmc_id); +void mmsc_receive_func(MmscGrp *m); +void mmsbox_outgoing_queue_runner(int *rstop); + +/* Fetch content given method. also understands data: url scheme. */ +int mmsbox_url_fetch_content(int method, Octstr *url, List *request_headers, + Octstr *body, List **reply_headers, Octstr **reply_body); +#endif