mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 07:14:14 +00:00
[mod_lua] Fix leaks.
This commit is contained in:
1 parent
93fdf2d9d7
commit
4dd86960ba
42 files changed
+685
-375
No files matched your search
@@ -1,13 +1,9 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 3.0.10
|
||||
# Version 3.0.12
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
from sys import version_info as _swig_python_version_info
|
||||
if _swig_python_version_info >= (2, 7, 0):
|
||||
def swig_import_helper():
|
||||
@@ -30,17 +26,18 @@ elif _swig_python_version_info >= (2, 6, 0):
|
||||
except ImportError:
|
||||
import _freeswitch
|
||||
return _freeswitch
|
||||
if fp is not None:
|
||||
try:
|
||||
_mod = imp.load_module('_freeswitch', fp, pathname, description)
|
||||
finally:
|
||||
try:
|
||||
_mod = imp.load_module('_freeswitch', fp, pathname, description)
|
||||
finally:
|
||||
if fp is not None:
|
||||
fp.close()
|
||||
return _mod
|
||||
return _mod
|
||||
_freeswitch = swig_import_helper()
|
||||
del swig_import_helper
|
||||
else:
|
||||
import _freeswitch
|
||||
del _swig_python_version_info
|
||||
|
||||
try:
|
||||
_swig_property = property
|
||||
except NameError:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 3.0.10
|
||||
* Version 3.0.12
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* coding conventions designed to improve portability and efficiency. Do not make
|
||||
@@ -976,6 +976,7 @@ typedef destructor freefunc;
|
||||
#if PY_VERSION_HEX < 0x03020000
|
||||
#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
|
||||
#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
|
||||
#define Py_hash_t long
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
@@ -1631,6 +1632,14 @@ SwigPyObject_repr(SwigPyObject *v, PyObject *args)
|
||||
return repr;
|
||||
}
|
||||
|
||||
/* We need a version taking two PyObject* parameters so it's a valid
|
||||
* PyCFunction to use in swigobject_methods[]. */
|
||||
SWIGRUNTIME PyObject *
|
||||
SwigPyObject_repr2(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
|
||||
{
|
||||
return SwigPyObject_repr((SwigPyObject*)v);
|
||||
}
|
||||
|
||||
SWIGRUNTIME int
|
||||
SwigPyObject_compare(SwigPyObject *v, SwigPyObject *w)
|
||||
{
|
||||
@@ -1760,11 +1769,7 @@ SwigPyObject_append(PyObject* v, PyObject* next)
|
||||
}
|
||||
|
||||
SWIGRUNTIME PyObject*
|
||||
#ifdef METH_NOARGS
|
||||
SwigPyObject_next(PyObject* v)
|
||||
#else
|
||||
SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
||||
#endif
|
||||
{
|
||||
SwigPyObject *sobj = (SwigPyObject *) v;
|
||||
if (sobj->next) {
|
||||
@@ -1799,6 +1804,20 @@ SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
|
||||
#ifdef METH_NOARGS
|
||||
static PyObject*
|
||||
SwigPyObject_disown2(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
||||
{
|
||||
return SwigPyObject_disown(v);
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
SwigPyObject_acquire2(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
|
||||
{
|
||||
return SwigPyObject_acquire(v);
|
||||
}
|
||||
#endif
|
||||
|
||||
SWIGINTERN PyObject*
|
||||
SwigPyObject_own(PyObject *v, PyObject *args)
|
||||
{
|
||||
@@ -1839,12 +1858,12 @@ SwigPyObject_own(PyObject *v, PyObject *args)
|
||||
#ifdef METH_O
|
||||
static PyMethodDef
|
||||
swigobject_methods[] = {
|
||||
{(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
|
||||
{(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (char *)"acquires ownership of the pointer"},
|
||||
{(char *)"disown", (PyCFunction)SwigPyObject_disown2, METH_NOARGS, (char *)"releases ownership of the pointer"},
|
||||
{(char *)"acquire", (PyCFunction)SwigPyObject_acquire2,METH_NOARGS, (char *)"acquires ownership of the pointer"},
|
||||
{(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
|
||||
{(char *)"append", (PyCFunction)SwigPyObject_append, METH_O, (char *)"appends another 'this' object"},
|
||||
{(char *)"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
|
||||
{(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (char *)"returns object representation"},
|
||||
{(char *)"__repr__",(PyCFunction)SwigPyObject_repr2, METH_NOARGS, (char *)"returns object representation"},
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
#else
|
||||
@@ -1855,7 +1874,7 @@ swigobject_methods[] = {
|
||||
{(char *)"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
|
||||
{(char *)"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
|
||||
{(char *)"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
|
||||
{(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
|
||||
{(char *)"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (char *)"returns object representation"},
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
#endif
|
||||
@@ -1924,7 +1943,6 @@ SwigPyObject_TypeOnce(void) {
|
||||
static int type_init = 0;
|
||||
if (!type_init) {
|
||||
const PyTypeObject tmp = {
|
||||
/* PyObject header changed in Python 3 */
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
#else
|
||||
@@ -1935,7 +1953,7 @@ SwigPyObject_TypeOnce(void) {
|
||||
sizeof(SwigPyObject), /* tp_basicsize */
|
||||
0, /* tp_itemsize */
|
||||
(destructor)SwigPyObject_dealloc, /* tp_dealloc */
|
||||
0, /* tp_print */
|
||||
0, /* tp_print */
|
||||
#if PY_VERSION_HEX < 0x02020000
|
||||
(getattrfunc)SwigPyObject_getattr, /* tp_getattr */
|
||||
#else
|
||||
@@ -1943,7 +1961,7 @@ SwigPyObject_TypeOnce(void) {
|
||||
#endif
|
||||
(setattrfunc)0, /* tp_setattr */
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
|
||||
0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
|
||||
#else
|
||||
(cmpfunc)SwigPyObject_compare, /* tp_compare */
|
||||
#endif
|
||||
@@ -1953,7 +1971,7 @@ SwigPyObject_TypeOnce(void) {
|
||||
0, /* tp_as_mapping */
|
||||
(hashfunc)0, /* tp_hash */
|
||||
(ternaryfunc)0, /* tp_call */
|
||||
0, /* tp_str */
|
||||
0, /* tp_str */
|
||||
PyObject_GenericGetAttr, /* tp_getattro */
|
||||
0, /* tp_setattro */
|
||||
0, /* tp_as_buffer */
|
||||
@@ -2116,7 +2134,6 @@ SwigPyPacked_TypeOnce(void) {
|
||||
static int type_init = 0;
|
||||
if (!type_init) {
|
||||
const PyTypeObject tmp = {
|
||||
/* PyObject header changed in Python 3 */
|
||||
#if PY_VERSION_HEX>=0x03000000
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
#else
|
||||
@@ -3057,7 +3074,7 @@ static swig_module_info swig_module = {swig_types, 28, 0, 0, 0, 0};
|
||||
#endif
|
||||
#define SWIG_name "_freeswitch"
|
||||
|
||||
#define SWIGVERSION 0x030010
|
||||
#define SWIGVERSION 0x030012
|
||||
#define SWIG_VERSION SWIGVERSION
|
||||
|
||||
|
||||
@@ -3202,7 +3219,7 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
|
||||
if (*alloc == SWIG_NEWOBJ)
|
||||
#endif
|
||||
{
|
||||
*cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
|
||||
*cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
|
||||
*alloc = SWIG_NEWOBJ;
|
||||
} else {
|
||||
*cptr = cstr;
|
||||
@@ -3240,7 +3257,7 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
|
||||
if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
|
||||
if (cptr) {
|
||||
if (alloc) *alloc = SWIG_NEWOBJ;
|
||||
*cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1)));
|
||||
*cptr = reinterpret_cast< char* >(memcpy(new char[len + 1], cstr, sizeof(char)*(len + 1)));
|
||||
}
|
||||
if (psize) *psize = len + 1;
|
||||
|
||||
@@ -3326,7 +3343,7 @@ SWIG_AsVal_double (PyObject *obj, double *val)
|
||||
return SWIG_OK;
|
||||
#if PY_VERSION_HEX < 0x03000000
|
||||
} else if (PyInt_Check(obj)) {
|
||||
if (val) *val = PyInt_AsLong(obj);
|
||||
if (val) *val = (double) PyInt_AsLong(obj);
|
||||
return SWIG_OK;
|
||||
#endif
|
||||
} else if (PyLong_Check(obj)) {
|
||||
@@ -4239,7 +4256,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *IVRMenu_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_IVRMenu, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -4397,7 +4414,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *API_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_API, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -4578,7 +4595,7 @@ SWIGINTERN PyObject *_wrap_input_callback_state_t_funcargs_set(PyObject *SWIGUNU
|
||||
if (arg1->funcargs) delete[] arg1->funcargs;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->funcargs = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->funcargs = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->funcargs = 0;
|
||||
}
|
||||
@@ -4649,7 +4666,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *input_callback_state_t_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_input_callback_state, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -4830,7 +4847,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *DTMF_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_DTMF, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -5055,7 +5072,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *Stream_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_Stream, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -5138,7 +5155,7 @@ SWIGINTERN PyObject *_wrap_Event_serialized_string_set(PyObject *SWIGUNUSEDPARM(
|
||||
if (arg1->serialized_string) delete[] arg1->serialized_string;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->serialized_string = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->serialized_string = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->serialized_string = 0;
|
||||
}
|
||||
@@ -5750,7 +5767,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *Event_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_Event, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -5893,7 +5910,7 @@ SWIGINTERN PyObject *_wrap_EventConsumer_e_callback_set(PyObject *SWIGUNUSEDPARM
|
||||
if (arg1->e_callback) delete[] arg1->e_callback;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->e_callback = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->e_callback = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->e_callback = 0;
|
||||
}
|
||||
@@ -5954,7 +5971,7 @@ SWIGINTERN PyObject *_wrap_EventConsumer_e_subclass_name_set(PyObject *SWIGUNUSE
|
||||
if (arg1->e_subclass_name) delete[] arg1->e_subclass_name;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->e_subclass_name = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->e_subclass_name = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->e_subclass_name = 0;
|
||||
}
|
||||
@@ -6015,7 +6032,7 @@ SWIGINTERN PyObject *_wrap_EventConsumer_e_cb_arg_set(PyObject *SWIGUNUSEDPARM(s
|
||||
if (arg1->e_cb_arg) delete[] arg1->e_cb_arg;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->e_cb_arg = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->e_cb_arg = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->e_cb_arg = 0;
|
||||
}
|
||||
@@ -6359,7 +6376,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *EventConsumer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_EventConsumer, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -6791,7 +6808,7 @@ SWIGINTERN PyObject *_wrap_CoreSession_uuid_set(PyObject *SWIGUNUSEDPARM(self),
|
||||
if (arg1->uuid) delete[] arg1->uuid;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->uuid = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->uuid = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->uuid = 0;
|
||||
}
|
||||
@@ -6852,7 +6869,7 @@ SWIGINTERN PyObject *_wrap_CoreSession_tts_name_set(PyObject *SWIGUNUSEDPARM(sel
|
||||
if (arg1->tts_name) delete[] arg1->tts_name;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->tts_name = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->tts_name = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->tts_name = 0;
|
||||
}
|
||||
@@ -6913,7 +6930,7 @@ SWIGINTERN PyObject *_wrap_CoreSession_voice_name_set(PyObject *SWIGUNUSEDPARM(s
|
||||
if (arg1->voice_name) delete[] arg1->voice_name;
|
||||
if (arg2) {
|
||||
size_t size = strlen(reinterpret_cast< const char * >(arg2)) + 1;
|
||||
arg1->voice_name = (char *)reinterpret_cast< char* >(memcpy((new char[size]), reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
arg1->voice_name = (char *)reinterpret_cast< char* >(memcpy(new char[size], reinterpret_cast< const char * >(arg2), sizeof(char)*(size)));
|
||||
} else {
|
||||
arg1->voice_name = 0;
|
||||
}
|
||||
@@ -9399,7 +9416,7 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *CoreSession_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_CoreSession, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
@@ -10455,199 +10472,199 @@ fail:
|
||||
|
||||
SWIGINTERN PyObject *Session_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
|
||||
PyObject *obj;
|
||||
if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL;
|
||||
if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL;
|
||||
SWIG_TypeNewClientData(SWIGTYPE_p_PYTHON__Session, SWIG_NewClientData(obj));
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
|
||||
static PyMethodDef SwigMethods[] = {
|
||||
{ (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
|
||||
{ (char *)"setGlobalVariable", _wrap_setGlobalVariable, METH_VARARGS, NULL},
|
||||
{ (char *)"getGlobalVariable", _wrap_getGlobalVariable, METH_VARARGS, NULL},
|
||||
{ (char *)"consoleLog", _wrap_consoleLog, METH_VARARGS, NULL},
|
||||
{ (char *)"consoleLog2", _wrap_consoleLog2, METH_VARARGS, NULL},
|
||||
{ (char *)"consoleCleanLog", _wrap_consoleCleanLog, METH_VARARGS, NULL},
|
||||
{ (char *)"running", _wrap_running, METH_VARARGS, NULL},
|
||||
{ (char *)"email", _wrap_email, METH_VARARGS, NULL},
|
||||
{ (char *)"new_IVRMenu", _wrap_new_IVRMenu, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_IVRMenu", _wrap_delete_IVRMenu, METH_VARARGS, NULL},
|
||||
{ (char *)"IVRMenu_bindAction", _wrap_IVRMenu_bindAction, METH_VARARGS, NULL},
|
||||
{ (char *)"IVRMenu_execute", _wrap_IVRMenu_execute, METH_VARARGS, NULL},
|
||||
{ (char *)"IVRMenu_swigregister", IVRMenu_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_API", _wrap_new_API, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_API", _wrap_delete_API, METH_VARARGS, NULL},
|
||||
{ (char *)"API_execute", _wrap_API_execute, METH_VARARGS, NULL},
|
||||
{ (char *)"API_executeString", _wrap_API_executeString, METH_VARARGS, NULL},
|
||||
{ (char *)"API_getTime", _wrap_API_getTime, METH_VARARGS, NULL},
|
||||
{ (char *)"API_swigregister", API_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_function_set", _wrap_input_callback_state_t_function_set, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_function_get", _wrap_input_callback_state_t_function_get, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_threadState_set", _wrap_input_callback_state_t_threadState_set, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_threadState_get", _wrap_input_callback_state_t_threadState_get, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_extra_set", _wrap_input_callback_state_t_extra_set, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_extra_get", _wrap_input_callback_state_t_extra_get, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_funcargs_set", _wrap_input_callback_state_t_funcargs_set, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_funcargs_get", _wrap_input_callback_state_t_funcargs_get, METH_VARARGS, NULL},
|
||||
{ (char *)"new_input_callback_state_t", _wrap_new_input_callback_state_t, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_input_callback_state_t", _wrap_delete_input_callback_state_t, METH_VARARGS, NULL},
|
||||
{ (char *)"input_callback_state_t_swigregister", input_callback_state_t_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"DTMF_digit_set", _wrap_DTMF_digit_set, METH_VARARGS, NULL},
|
||||
{ (char *)"DTMF_digit_get", _wrap_DTMF_digit_get, METH_VARARGS, NULL},
|
||||
{ (char *)"DTMF_duration_set", _wrap_DTMF_duration_set, METH_VARARGS, NULL},
|
||||
{ (char *)"DTMF_duration_get", _wrap_DTMF_duration_get, METH_VARARGS, NULL},
|
||||
{ (char *)"new_DTMF", _wrap_new_DTMF, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_DTMF", _wrap_delete_DTMF, METH_VARARGS, NULL},
|
||||
{ (char *)"DTMF_swigregister", DTMF_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"new_Stream", _wrap_new_Stream, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_Stream", _wrap_delete_Stream, METH_VARARGS, NULL},
|
||||
{ (char *)"Stream_read", _wrap_Stream_read, METH_VARARGS, NULL},
|
||||
{ (char *)"Stream_write", _wrap_Stream_write, METH_VARARGS, NULL},
|
||||
{ (char *)"Stream_raw_write", _wrap_Stream_raw_write, METH_VARARGS, NULL},
|
||||
{ (char *)"Stream_get_data", _wrap_Stream_get_data, METH_VARARGS, NULL},
|
||||
{ (char *)"Stream_swigregister", Stream_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_event_set", _wrap_Event_event_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_event_get", _wrap_Event_event_get, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_serialized_string_set", _wrap_Event_serialized_string_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_serialized_string_get", _wrap_Event_serialized_string_get, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_mine_set", _wrap_Event_mine_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_mine_get", _wrap_Event_mine_get, METH_VARARGS, NULL},
|
||||
{ (char *)"new_Event", _wrap_new_Event, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_Event", _wrap_delete_Event, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_chat_execute", _wrap_Event_chat_execute, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_chat_send", _wrap_Event_chat_send, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_serialize", _wrap_Event_serialize, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_setPriority", _wrap_Event_setPriority, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_getHeader", _wrap_Event_getHeader, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_getBody", _wrap_Event_getBody, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_getType", _wrap_Event_getType, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_addBody", _wrap_Event_addBody, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_addHeader", _wrap_Event_addHeader, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_delHeader", _wrap_Event_delHeader, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_fire", _wrap_Event_fire, METH_VARARGS, NULL},
|
||||
{ (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_events_set", _wrap_EventConsumer_events_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_events_get", _wrap_EventConsumer_events_get, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_event_id_set", _wrap_EventConsumer_e_event_id_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_event_id_get", _wrap_EventConsumer_e_event_id_get, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_callback_set", _wrap_EventConsumer_e_callback_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_callback_get", _wrap_EventConsumer_e_callback_get, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_subclass_name_set", _wrap_EventConsumer_e_subclass_name_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_subclass_name_get", _wrap_EventConsumer_e_subclass_name_get, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_cb_arg_set", _wrap_EventConsumer_e_cb_arg_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_e_cb_arg_get", _wrap_EventConsumer_e_cb_arg_get, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_enodes_set", _wrap_EventConsumer_enodes_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_enodes_get", _wrap_EventConsumer_enodes_get, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_node_index_set", _wrap_EventConsumer_node_index_set, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_node_index_get", _wrap_EventConsumer_node_index_get, METH_VARARGS, NULL},
|
||||
{ (char *)"new_EventConsumer", _wrap_new_EventConsumer, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_EventConsumer", _wrap_delete_EventConsumer, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_bind", _wrap_EventConsumer_bind, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_pop", _wrap_EventConsumer_pop, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_cleanup", _wrap_EventConsumer_cleanup, METH_VARARGS, NULL},
|
||||
{ (char *)"EventConsumer_swigregister", EventConsumer_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_CoreSession", _wrap_delete_CoreSession, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_session_set", _wrap_CoreSession_session_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_session_get", _wrap_CoreSession_session_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_channel_set", _wrap_CoreSession_channel_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_channel_get", _wrap_CoreSession_channel_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_flags_set", _wrap_CoreSession_flags_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_flags_get", _wrap_CoreSession_flags_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_allocated_set", _wrap_CoreSession_allocated_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_allocated_get", _wrap_CoreSession_allocated_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_cb_state_set", _wrap_CoreSession_cb_state_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_cb_state_get", _wrap_CoreSession_cb_state_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_hook_state_set", _wrap_CoreSession_hook_state_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_hook_state_get", _wrap_CoreSession_hook_state_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_cause_set", _wrap_CoreSession_cause_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_cause_get", _wrap_CoreSession_cause_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_uuid_set", _wrap_CoreSession_uuid_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_uuid_get", _wrap_CoreSession_uuid_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_tts_name_set", _wrap_CoreSession_tts_name_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_tts_name_get", _wrap_CoreSession_tts_name_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_voice_name_set", _wrap_CoreSession_voice_name_set, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_voice_name_get", _wrap_CoreSession_voice_name_get, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_insertFile", _wrap_CoreSession_insertFile, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_answer", _wrap_CoreSession_answer, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession__print", _wrap_CoreSession__print, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_preAnswer", _wrap_CoreSession_preAnswer, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_hangup", _wrap_CoreSession_hangup, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_hangupState", _wrap_CoreSession_hangupState, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_setVariable", _wrap_CoreSession_setVariable, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_setPrivate", _wrap_CoreSession_setPrivate, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_getPrivate", _wrap_CoreSession_getPrivate, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_getVariable", _wrap_CoreSession_getVariable, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_process_callback_result", _wrap_CoreSession_process_callback_result, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_say", _wrap_CoreSession_say, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_sayPhrase", _wrap_CoreSession_sayPhrase, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_hangupCause", _wrap_CoreSession_hangupCause, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_getState", _wrap_CoreSession_getState, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_recordFile", _wrap_CoreSession_recordFile, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_originate", _wrap_CoreSession_originate, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_destroy", _wrap_CoreSession_destroy, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_setDTMFCallback", _wrap_CoreSession_setDTMFCallback, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_speak", _wrap_CoreSession_speak, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_set_tts_parms", _wrap_CoreSession_set_tts_parms, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_set_tts_params", _wrap_CoreSession_set_tts_params, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_collectDigits", _wrap_CoreSession_collectDigits, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_getDigits", _wrap_CoreSession_getDigits, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_transfer", _wrap_CoreSession_transfer, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_read", _wrap_CoreSession_read, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_detectSpeech", _wrap_CoreSession_detectSpeech, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_playAndGetDigits", _wrap_CoreSession_playAndGetDigits, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_playAndDetectSpeech", _wrap_CoreSession_playAndDetectSpeech, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_streamFile", _wrap_CoreSession_streamFile, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_sleep", _wrap_CoreSession_sleep, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_flushEvents", _wrap_CoreSession_flushEvents, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_flushDigits", _wrap_CoreSession_flushDigits, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_setAutoHangup", _wrap_CoreSession_setAutoHangup, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_setHangupHook", _wrap_CoreSession_setHangupHook, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_ready", _wrap_CoreSession_ready, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_bridged", _wrap_CoreSession_bridged, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_answered", _wrap_CoreSession_answered, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_mediaReady", _wrap_CoreSession_mediaReady, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_waitForAnswer", _wrap_CoreSession_waitForAnswer, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_execute", _wrap_CoreSession_execute, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_sendEvent", _wrap_CoreSession_sendEvent, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_setEventData", _wrap_CoreSession_setEventData, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_getXMLCDR", _wrap_CoreSession_getXMLCDR, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_begin_allow_threads", _wrap_CoreSession_begin_allow_threads, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_end_allow_threads", _wrap_CoreSession_end_allow_threads, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_get_uuid", _wrap_CoreSession_get_uuid, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_get_cb_args", _wrap_CoreSession_get_cb_args, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_check_hangup_hook", _wrap_CoreSession_check_hangup_hook, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_run_dtmf_callback", _wrap_CoreSession_run_dtmf_callback, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_consoleLog", _wrap_CoreSession_consoleLog, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_consoleLog2", _wrap_CoreSession_consoleLog2, METH_VARARGS, NULL},
|
||||
{ (char *)"CoreSession_swigregister", CoreSession_swigregister, METH_VARARGS, NULL},
|
||||
{ (char *)"console_log", _wrap_console_log, METH_VARARGS, NULL},
|
||||
{ (char *)"console_log2", _wrap_console_log2, METH_VARARGS, NULL},
|
||||
{ (char *)"console_clean_log", _wrap_console_clean_log, METH_VARARGS, NULL},
|
||||
{ (char *)"msleep", _wrap_msleep, METH_VARARGS, NULL},
|
||||
{ (char *)"bridge", _wrap_bridge, METH_VARARGS, NULL},
|
||||
{ (char *)"hanguphook", _wrap_hanguphook, METH_VARARGS, NULL},
|
||||
{ (char *)"dtmf_callback", _wrap_dtmf_callback, METH_VARARGS, NULL},
|
||||
{ (char *)"new_Session", _wrap_new_Session, METH_VARARGS, NULL},
|
||||
{ (char *)"delete_Session", _wrap_delete_Session, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_begin_allow_threads", _wrap_Session_begin_allow_threads, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_end_allow_threads", _wrap_Session_end_allow_threads, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_check_hangup_hook", _wrap_Session_check_hangup_hook, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_destroy", _wrap_Session_destroy, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_run_dtmf_callback", _wrap_Session_run_dtmf_callback, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_setInputCallback", _wrap_Session_setInputCallback, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_unsetInputCallback", _wrap_Session_unsetInputCallback, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_setHangupHook", _wrap_Session_setHangupHook, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_ready", _wrap_Session_ready, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_cb_function_set", _wrap_Session_cb_function_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_cb_function_get", _wrap_Session_cb_function_get, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_cb_arg_set", _wrap_Session_cb_arg_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_cb_arg_get", _wrap_Session_cb_arg_get, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_hangup_func_set", _wrap_Session_hangup_func_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_hangup_func_get", _wrap_Session_hangup_func_get, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_hangup_func_arg_set", _wrap_Session_hangup_func_arg_set, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_hangup_func_arg_get", _wrap_Session_hangup_func_arg_get, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_setPython", _wrap_Session_setPython, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_setSelf", _wrap_Session_setSelf, METH_VARARGS, NULL},
|
||||
{ (char *)"Session_swigregister", Session_swigregister, METH_VARARGS, NULL},
|
||||
{ "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL},
|
||||
{ "setGlobalVariable", _wrap_setGlobalVariable, METH_VARARGS, NULL},
|
||||
{ "getGlobalVariable", _wrap_getGlobalVariable, METH_VARARGS, NULL},
|
||||
{ "consoleLog", _wrap_consoleLog, METH_VARARGS, NULL},
|
||||
{ "consoleLog2", _wrap_consoleLog2, METH_VARARGS, NULL},
|
||||
{ "consoleCleanLog", _wrap_consoleCleanLog, METH_VARARGS, NULL},
|
||||
{ "running", _wrap_running, METH_VARARGS, NULL},
|
||||
{ "email", _wrap_email, METH_VARARGS, NULL},
|
||||
{ "new_IVRMenu", _wrap_new_IVRMenu, METH_VARARGS, NULL},
|
||||
{ "delete_IVRMenu", _wrap_delete_IVRMenu, METH_VARARGS, NULL},
|
||||
{ "IVRMenu_bindAction", _wrap_IVRMenu_bindAction, METH_VARARGS, NULL},
|
||||
{ "IVRMenu_execute", _wrap_IVRMenu_execute, METH_VARARGS, NULL},
|
||||
{ "IVRMenu_swigregister", IVRMenu_swigregister, METH_VARARGS, NULL},
|
||||
{ "new_API", _wrap_new_API, METH_VARARGS, NULL},
|
||||
{ "delete_API", _wrap_delete_API, METH_VARARGS, NULL},
|
||||
{ "API_execute", _wrap_API_execute, METH_VARARGS, NULL},
|
||||
{ "API_executeString", _wrap_API_executeString, METH_VARARGS, NULL},
|
||||
{ "API_getTime", _wrap_API_getTime, METH_VARARGS, NULL},
|
||||
{ "API_swigregister", API_swigregister, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_function_set", _wrap_input_callback_state_t_function_set, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_function_get", _wrap_input_callback_state_t_function_get, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_threadState_set", _wrap_input_callback_state_t_threadState_set, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_threadState_get", _wrap_input_callback_state_t_threadState_get, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_extra_set", _wrap_input_callback_state_t_extra_set, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_extra_get", _wrap_input_callback_state_t_extra_get, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_funcargs_set", _wrap_input_callback_state_t_funcargs_set, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_funcargs_get", _wrap_input_callback_state_t_funcargs_get, METH_VARARGS, NULL},
|
||||
{ "new_input_callback_state_t", _wrap_new_input_callback_state_t, METH_VARARGS, NULL},
|
||||
{ "delete_input_callback_state_t", _wrap_delete_input_callback_state_t, METH_VARARGS, NULL},
|
||||
{ "input_callback_state_t_swigregister", input_callback_state_t_swigregister, METH_VARARGS, NULL},
|
||||
{ "DTMF_digit_set", _wrap_DTMF_digit_set, METH_VARARGS, NULL},
|
||||
{ "DTMF_digit_get", _wrap_DTMF_digit_get, METH_VARARGS, NULL},
|
||||
{ "DTMF_duration_set", _wrap_DTMF_duration_set, METH_VARARGS, NULL},
|
||||
{ "DTMF_duration_get", _wrap_DTMF_duration_get, METH_VARARGS, NULL},
|
||||
{ "new_DTMF", _wrap_new_DTMF, METH_VARARGS, NULL},
|
||||
{ "delete_DTMF", _wrap_delete_DTMF, METH_VARARGS, NULL},
|
||||
{ "DTMF_swigregister", DTMF_swigregister, METH_VARARGS, NULL},
|
||||
{ "new_Stream", _wrap_new_Stream, METH_VARARGS, NULL},
|
||||
{ "delete_Stream", _wrap_delete_Stream, METH_VARARGS, NULL},
|
||||
{ "Stream_read", _wrap_Stream_read, METH_VARARGS, NULL},
|
||||
{ "Stream_write", _wrap_Stream_write, METH_VARARGS, NULL},
|
||||
{ "Stream_raw_write", _wrap_Stream_raw_write, METH_VARARGS, NULL},
|
||||
{ "Stream_get_data", _wrap_Stream_get_data, METH_VARARGS, NULL},
|
||||
{ "Stream_swigregister", Stream_swigregister, METH_VARARGS, NULL},
|
||||
{ "Event_event_set", _wrap_Event_event_set, METH_VARARGS, NULL},
|
||||
{ "Event_event_get", _wrap_Event_event_get, METH_VARARGS, NULL},
|
||||
{ "Event_serialized_string_set", _wrap_Event_serialized_string_set, METH_VARARGS, NULL},
|
||||
{ "Event_serialized_string_get", _wrap_Event_serialized_string_get, METH_VARARGS, NULL},
|
||||
{ "Event_mine_set", _wrap_Event_mine_set, METH_VARARGS, NULL},
|
||||
{ "Event_mine_get", _wrap_Event_mine_get, METH_VARARGS, NULL},
|
||||
{ "new_Event", _wrap_new_Event, METH_VARARGS, NULL},
|
||||
{ "delete_Event", _wrap_delete_Event, METH_VARARGS, NULL},
|
||||
{ "Event_chat_execute", _wrap_Event_chat_execute, METH_VARARGS, NULL},
|
||||
{ "Event_chat_send", _wrap_Event_chat_send, METH_VARARGS, NULL},
|
||||
{ "Event_serialize", _wrap_Event_serialize, METH_VARARGS, NULL},
|
||||
{ "Event_setPriority", _wrap_Event_setPriority, METH_VARARGS, NULL},
|
||||
{ "Event_getHeader", _wrap_Event_getHeader, METH_VARARGS, NULL},
|
||||
{ "Event_getBody", _wrap_Event_getBody, METH_VARARGS, NULL},
|
||||
{ "Event_getType", _wrap_Event_getType, METH_VARARGS, NULL},
|
||||
{ "Event_addBody", _wrap_Event_addBody, METH_VARARGS, NULL},
|
||||
{ "Event_addHeader", _wrap_Event_addHeader, METH_VARARGS, NULL},
|
||||
{ "Event_delHeader", _wrap_Event_delHeader, METH_VARARGS, NULL},
|
||||
{ "Event_fire", _wrap_Event_fire, METH_VARARGS, NULL},
|
||||
{ "Event_swigregister", Event_swigregister, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_events_set", _wrap_EventConsumer_events_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_events_get", _wrap_EventConsumer_events_get, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_event_id_set", _wrap_EventConsumer_e_event_id_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_event_id_get", _wrap_EventConsumer_e_event_id_get, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_callback_set", _wrap_EventConsumer_e_callback_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_callback_get", _wrap_EventConsumer_e_callback_get, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_subclass_name_set", _wrap_EventConsumer_e_subclass_name_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_subclass_name_get", _wrap_EventConsumer_e_subclass_name_get, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_cb_arg_set", _wrap_EventConsumer_e_cb_arg_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_e_cb_arg_get", _wrap_EventConsumer_e_cb_arg_get, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_enodes_set", _wrap_EventConsumer_enodes_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_enodes_get", _wrap_EventConsumer_enodes_get, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_node_index_set", _wrap_EventConsumer_node_index_set, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_node_index_get", _wrap_EventConsumer_node_index_get, METH_VARARGS, NULL},
|
||||
{ "new_EventConsumer", _wrap_new_EventConsumer, METH_VARARGS, NULL},
|
||||
{ "delete_EventConsumer", _wrap_delete_EventConsumer, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_bind", _wrap_EventConsumer_bind, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_pop", _wrap_EventConsumer_pop, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_cleanup", _wrap_EventConsumer_cleanup, METH_VARARGS, NULL},
|
||||
{ "EventConsumer_swigregister", EventConsumer_swigregister, METH_VARARGS, NULL},
|
||||
{ "delete_CoreSession", _wrap_delete_CoreSession, METH_VARARGS, NULL},
|
||||
{ "CoreSession_session_set", _wrap_CoreSession_session_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_session_get", _wrap_CoreSession_session_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_channel_set", _wrap_CoreSession_channel_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_channel_get", _wrap_CoreSession_channel_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_flags_set", _wrap_CoreSession_flags_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_flags_get", _wrap_CoreSession_flags_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_allocated_set", _wrap_CoreSession_allocated_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_allocated_get", _wrap_CoreSession_allocated_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_cb_state_set", _wrap_CoreSession_cb_state_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_cb_state_get", _wrap_CoreSession_cb_state_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_hook_state_set", _wrap_CoreSession_hook_state_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_hook_state_get", _wrap_CoreSession_hook_state_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_cause_set", _wrap_CoreSession_cause_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_cause_get", _wrap_CoreSession_cause_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_uuid_set", _wrap_CoreSession_uuid_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_uuid_get", _wrap_CoreSession_uuid_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_tts_name_set", _wrap_CoreSession_tts_name_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_tts_name_get", _wrap_CoreSession_tts_name_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_voice_name_set", _wrap_CoreSession_voice_name_set, METH_VARARGS, NULL},
|
||||
{ "CoreSession_voice_name_get", _wrap_CoreSession_voice_name_get, METH_VARARGS, NULL},
|
||||
{ "CoreSession_insertFile", _wrap_CoreSession_insertFile, METH_VARARGS, NULL},
|
||||
{ "CoreSession_answer", _wrap_CoreSession_answer, METH_VARARGS, NULL},
|
||||
{ "CoreSession__print", _wrap_CoreSession__print, METH_VARARGS, NULL},
|
||||
{ "CoreSession_preAnswer", _wrap_CoreSession_preAnswer, METH_VARARGS, NULL},
|
||||
{ "CoreSession_hangup", _wrap_CoreSession_hangup, METH_VARARGS, NULL},
|
||||
{ "CoreSession_hangupState", _wrap_CoreSession_hangupState, METH_VARARGS, NULL},
|
||||
{ "CoreSession_setVariable", _wrap_CoreSession_setVariable, METH_VARARGS, NULL},
|
||||
{ "CoreSession_setPrivate", _wrap_CoreSession_setPrivate, METH_VARARGS, NULL},
|
||||
{ "CoreSession_getPrivate", _wrap_CoreSession_getPrivate, METH_VARARGS, NULL},
|
||||
{ "CoreSession_getVariable", _wrap_CoreSession_getVariable, METH_VARARGS, NULL},
|
||||
{ "CoreSession_process_callback_result", _wrap_CoreSession_process_callback_result, METH_VARARGS, NULL},
|
||||
{ "CoreSession_say", _wrap_CoreSession_say, METH_VARARGS, NULL},
|
||||
{ "CoreSession_sayPhrase", _wrap_CoreSession_sayPhrase, METH_VARARGS, NULL},
|
||||
{ "CoreSession_hangupCause", _wrap_CoreSession_hangupCause, METH_VARARGS, NULL},
|
||||
{ "CoreSession_getState", _wrap_CoreSession_getState, METH_VARARGS, NULL},
|
||||
{ "CoreSession_recordFile", _wrap_CoreSession_recordFile, METH_VARARGS, NULL},
|
||||
{ "CoreSession_originate", _wrap_CoreSession_originate, METH_VARARGS, NULL},
|
||||
{ "CoreSession_destroy", _wrap_CoreSession_destroy, METH_VARARGS, NULL},
|
||||
{ "CoreSession_setDTMFCallback", _wrap_CoreSession_setDTMFCallback, METH_VARARGS, NULL},
|
||||
{ "CoreSession_speak", _wrap_CoreSession_speak, METH_VARARGS, NULL},
|
||||
{ "CoreSession_set_tts_parms", _wrap_CoreSession_set_tts_parms, METH_VARARGS, NULL},
|
||||
{ "CoreSession_set_tts_params", _wrap_CoreSession_set_tts_params, METH_VARARGS, NULL},
|
||||
{ "CoreSession_collectDigits", _wrap_CoreSession_collectDigits, METH_VARARGS, NULL},
|
||||
{ "CoreSession_getDigits", _wrap_CoreSession_getDigits, METH_VARARGS, NULL},
|
||||
{ "CoreSession_transfer", _wrap_CoreSession_transfer, METH_VARARGS, NULL},
|
||||
{ "CoreSession_read", _wrap_CoreSession_read, METH_VARARGS, NULL},
|
||||
{ "CoreSession_detectSpeech", _wrap_CoreSession_detectSpeech, METH_VARARGS, NULL},
|
||||
{ "CoreSession_playAndGetDigits", _wrap_CoreSession_playAndGetDigits, METH_VARARGS, NULL},
|
||||
{ "CoreSession_playAndDetectSpeech", _wrap_CoreSession_playAndDetectSpeech, METH_VARARGS, NULL},
|
||||
{ "CoreSession_streamFile", _wrap_CoreSession_streamFile, METH_VARARGS, NULL},
|
||||
{ "CoreSession_sleep", _wrap_CoreSession_sleep, METH_VARARGS, NULL},
|
||||
{ "CoreSession_flushEvents", _wrap_CoreSession_flushEvents, METH_VARARGS, NULL},
|
||||
{ "CoreSession_flushDigits", _wrap_CoreSession_flushDigits, METH_VARARGS, NULL},
|
||||
{ "CoreSession_setAutoHangup", _wrap_CoreSession_setAutoHangup, METH_VARARGS, NULL},
|
||||
{ "CoreSession_setHangupHook", _wrap_CoreSession_setHangupHook, METH_VARARGS, NULL},
|
||||
{ "CoreSession_ready", _wrap_CoreSession_ready, METH_VARARGS, NULL},
|
||||
{ "CoreSession_bridged", _wrap_CoreSession_bridged, METH_VARARGS, NULL},
|
||||
{ "CoreSession_answered", _wrap_CoreSession_answered, METH_VARARGS, NULL},
|
||||
{ "CoreSession_mediaReady", _wrap_CoreSession_mediaReady, METH_VARARGS, NULL},
|
||||
{ "CoreSession_waitForAnswer", _wrap_CoreSession_waitForAnswer, METH_VARARGS, NULL},
|
||||
{ "CoreSession_execute", _wrap_CoreSession_execute, METH_VARARGS, NULL},
|
||||
{ "CoreSession_sendEvent", _wrap_CoreSession_sendEvent, METH_VARARGS, NULL},
|
||||
{ "CoreSession_setEventData", _wrap_CoreSession_setEventData, METH_VARARGS, NULL},
|
||||
{ "CoreSession_getXMLCDR", _wrap_CoreSession_getXMLCDR, METH_VARARGS, NULL},
|
||||
{ "CoreSession_begin_allow_threads", _wrap_CoreSession_begin_allow_threads, METH_VARARGS, NULL},
|
||||
{ "CoreSession_end_allow_threads", _wrap_CoreSession_end_allow_threads, METH_VARARGS, NULL},
|
||||
{ "CoreSession_get_uuid", _wrap_CoreSession_get_uuid, METH_VARARGS, NULL},
|
||||
{ "CoreSession_get_cb_args", _wrap_CoreSession_get_cb_args, METH_VARARGS, NULL},
|
||||
{ "CoreSession_check_hangup_hook", _wrap_CoreSession_check_hangup_hook, METH_VARARGS, NULL},
|
||||
{ "CoreSession_run_dtmf_callback", _wrap_CoreSession_run_dtmf_callback, METH_VARARGS, NULL},
|
||||
{ "CoreSession_consoleLog", _wrap_CoreSession_consoleLog, METH_VARARGS, NULL},
|
||||
{ "CoreSession_consoleLog2", _wrap_CoreSession_consoleLog2, METH_VARARGS, NULL},
|
||||
{ "CoreSession_swigregister", CoreSession_swigregister, METH_VARARGS, NULL},
|
||||
{ "console_log", _wrap_console_log, METH_VARARGS, NULL},
|
||||
{ "console_log2", _wrap_console_log2, METH_VARARGS, NULL},
|
||||
{ "console_clean_log", _wrap_console_clean_log, METH_VARARGS, NULL},
|
||||
{ "msleep", _wrap_msleep, METH_VARARGS, NULL},
|
||||
{ "bridge", _wrap_bridge, METH_VARARGS, NULL},
|
||||
{ "hanguphook", _wrap_hanguphook, METH_VARARGS, NULL},
|
||||
{ "dtmf_callback", _wrap_dtmf_callback, METH_VARARGS, NULL},
|
||||
{ "new_Session", _wrap_new_Session, METH_VARARGS, NULL},
|
||||
{ "delete_Session", _wrap_delete_Session, METH_VARARGS, NULL},
|
||||
{ "Session_begin_allow_threads", _wrap_Session_begin_allow_threads, METH_VARARGS, NULL},
|
||||
{ "Session_end_allow_threads", _wrap_Session_end_allow_threads, METH_VARARGS, NULL},
|
||||
{ "Session_check_hangup_hook", _wrap_Session_check_hangup_hook, METH_VARARGS, NULL},
|
||||
{ "Session_destroy", _wrap_Session_destroy, METH_VARARGS, NULL},
|
||||
{ "Session_run_dtmf_callback", _wrap_Session_run_dtmf_callback, METH_VARARGS, NULL},
|
||||
{ "Session_setInputCallback", _wrap_Session_setInputCallback, METH_VARARGS, NULL},
|
||||
{ "Session_unsetInputCallback", _wrap_Session_unsetInputCallback, METH_VARARGS, NULL},
|
||||
{ "Session_setHangupHook", _wrap_Session_setHangupHook, METH_VARARGS, NULL},
|
||||
{ "Session_ready", _wrap_Session_ready, METH_VARARGS, NULL},
|
||||
{ "Session_cb_function_set", _wrap_Session_cb_function_set, METH_VARARGS, NULL},
|
||||
{ "Session_cb_function_get", _wrap_Session_cb_function_get, METH_VARARGS, NULL},
|
||||
{ "Session_cb_arg_set", _wrap_Session_cb_arg_set, METH_VARARGS, NULL},
|
||||
{ "Session_cb_arg_get", _wrap_Session_cb_arg_get, METH_VARARGS, NULL},
|
||||
{ "Session_hangup_func_set", _wrap_Session_hangup_func_set, METH_VARARGS, NULL},
|
||||
{ "Session_hangup_func_get", _wrap_Session_hangup_func_get, METH_VARARGS, NULL},
|
||||
{ "Session_hangup_func_arg_set", _wrap_Session_hangup_func_arg_set, METH_VARARGS, NULL},
|
||||
{ "Session_hangup_func_arg_get", _wrap_Session_hangup_func_arg_get, METH_VARARGS, NULL},
|
||||
{ "Session_setPython", _wrap_Session_setPython, METH_VARARGS, NULL},
|
||||
{ "Session_setSelf", _wrap_Session_setSelf, METH_VARARGS, NULL},
|
||||
{ "Session_swigregister", Session_swigregister, METH_VARARGS, NULL},
|
||||
{ NULL, NULL, 0, NULL }
|
||||
};
|
||||
|
||||
@@ -11154,7 +11171,6 @@ extern "C" {
|
||||
static int type_init = 0;
|
||||
if (!type_init) {
|
||||
const PyTypeObject tmp = {
|
||||
/* PyObject header changed in Python 3 */
|
||||
#if PY_VERSION_HEX >= 0x03000000
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
#else
|
||||
@@ -11316,9 +11332,9 @@ extern "C" {
|
||||
char *ndoc = (char*)malloc(ldoc + lptr + 10);
|
||||
if (ndoc) {
|
||||
char *buff = ndoc;
|
||||
strncpy(buff, methods[i].ml_doc, ldoc);
|
||||
memcpy(buff, methods[i].ml_doc, ldoc);
|
||||
buff += ldoc;
|
||||
strncpy(buff, "swig_ptr: ", 10);
|
||||
memcpy(buff, "swig_ptr: ", 10);
|
||||
buff += 10;
|
||||
SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
|
||||
methods[i].ml_doc = ndoc;
|
||||
@@ -11380,19 +11396,19 @@ SWIG_init(void) {
|
||||
(char *)"this", &SwigPyBuiltin_ThisClosure, NULL, NULL, NULL
|
||||
};
|
||||
static SwigPyGetSet thisown_getset_closure = {
|
||||
(PyCFunction) SwigPyObject_own,
|
||||
(PyCFunction) SwigPyObject_own
|
||||
SwigPyObject_own,
|
||||
SwigPyObject_own
|
||||
};
|
||||
static PyGetSetDef thisown_getset_def = {
|
||||
(char *)"thisown", SwigPyBuiltin_GetterClosure, SwigPyBuiltin_SetterClosure, NULL, &thisown_getset_closure
|
||||
};
|
||||
PyObject *metatype_args;
|
||||
PyTypeObject *builtin_pytype;
|
||||
int builtin_base_count;
|
||||
swig_type_info *builtin_basetype;
|
||||
PyObject *tuple;
|
||||
PyGetSetDescrObject *static_getset;
|
||||
PyTypeObject *metatype;
|
||||
PyTypeObject *swigpyobject;
|
||||
SwigPyClientData *cd;
|
||||
PyObject *public_interface, *public_symbol;
|
||||
PyObject *this_descr;
|
||||
@@ -11407,14 +11423,9 @@ SWIG_init(void) {
|
||||
(void)static_getset;
|
||||
(void)self;
|
||||
|
||||
/* metatype is used to implement static member variables. */
|
||||
metatype_args = Py_BuildValue("(s(O){})", "SwigPyObjectType", &PyType_Type);
|
||||
assert(metatype_args);
|
||||
metatype = (PyTypeObject *) PyType_Type.tp_call((PyObject *) &PyType_Type, metatype_args, NULL);
|
||||
/* Metaclass is used to implement static member variables */
|
||||
metatype = SwigPyObjectType();
|
||||
assert(metatype);
|
||||
Py_DECREF(metatype_args);
|
||||
metatype->tp_setattro = (setattrofunc) &SwigPyObjectType_setattro;
|
||||
assert(PyType_Ready(metatype) >= 0);
|
||||
#endif
|
||||
|
||||
/* Fix SwigMethods to carry the callback ptrs when needed */
|
||||
@@ -11432,13 +11443,15 @@ SWIG_init(void) {
|
||||
SWIG_InitializeModule(0);
|
||||
|
||||
#ifdef SWIGPYTHON_BUILTIN
|
||||
swigpyobject = SwigPyObject_TypeOnce();
|
||||
|
||||
SwigPyObject_stype = SWIG_MangledTypeQuery("_p_SwigPyObject");
|
||||
assert(SwigPyObject_stype);
|
||||
cd = (SwigPyClientData*) SwigPyObject_stype->clientdata;
|
||||
if (!cd) {
|
||||
SwigPyObject_stype->clientdata = &SwigPyObject_clientdata;
|
||||
SwigPyObject_clientdata.pytype = SwigPyObject_TypeOnce();
|
||||
} else if (SwigPyObject_TypeOnce()->tp_basicsize != cd->pytype->tp_basicsize) {
|
||||
SwigPyObject_clientdata.pytype = swigpyobject;
|
||||
} else if (swigpyobject->tp_basicsize != cd->pytype->tp_basicsize) {
|
||||
PyErr_SetString(PyExc_RuntimeError, "Import error: attempted to load two incompatible swig-generated modules.");
|
||||
# if PY_VERSION_HEX >= 0x03000000
|
||||
return NULL;
|
||||
|
||||
Reference in new issue
Block a user