1
0
Fork 0

adding mmsbox.h to cvs

This commit is contained in:
bagyenda 2005-09-21 16:34:38 +00:00
parent dd86106119
commit 189e6e8b73
1 changed files with 27 additions and 0 deletions

27
mbuni/mmsbox/mmsbox.h Normal file
View File

@ -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 <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;
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