FS-6811 #resolve
This commit is contained in:
parent
574d19e56e
commit
66302cac89
|
@ -0,0 +1,26 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.35
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
package org.freeswitch.swig;
|
||||
|
||||
public class SWIGTYPE_p_int {
|
||||
private long swigCPtr;
|
||||
|
||||
protected SWIGTYPE_p_int(long cPtr, boolean futureUse) {
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_int() {
|
||||
swigCPtr = 0;
|
||||
}
|
||||
|
||||
protected static long getCPtr(SWIGTYPE_p_int obj) {
|
||||
return (obj == null) ? 0 : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.12
|
||||
*
|
||||
* This file is not intended to be easily readable and contains a number of
|
||||
* Version 2.0.7
|
||||
*
|
||||
* 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
|
||||
* changes to this file unless you know what you are doing--modify the SWIG
|
||||
* interface file instead.
|
||||
* changes to this file unless you know what you are doing--modify the SWIG
|
||||
* interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#define SWIGCSHARP
|
||||
|
@ -65,28 +65,28 @@ template <typename T> T SwigValueInit() {
|
|||
#ifndef SWIGUNUSED
|
||||
# if defined(__GNUC__)
|
||||
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# else
|
||||
# define SWIGUNUSED
|
||||
# endif
|
||||
# elif defined(__ICC)
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# define SWIGUNUSED __attribute__ ((__unused__))
|
||||
# else
|
||||
# define SWIGUNUSED
|
||||
# define SWIGUNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
||||
# if defined(_MSC_VER)
|
||||
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SWIGUNUSEDPARM
|
||||
# ifdef __cplusplus
|
||||
# define SWIGUNUSEDPARM(p)
|
||||
# else
|
||||
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
||||
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
@ -129,7 +129,7 @@ template <typename T> T SwigValueInit() {
|
|||
# define SWIGSTDCALL __stdcall
|
||||
# else
|
||||
# define SWIGSTDCALL
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
||||
|
@ -2720,6 +2720,36 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_storage_dir_get(void * j
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_cache_dir_set(void * jarg1, char * jarg2) {
|
||||
switch_directories *arg1 = (switch_directories *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_directories *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
delete [] arg1->cache_dir;
|
||||
if (arg2) {
|
||||
arg1->cache_dir = (char *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->cache_dir, (const char *)arg2);
|
||||
} else {
|
||||
arg1->cache_dir = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_cache_dir_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_directories *arg1 = (switch_directories *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_directories *)jarg1;
|
||||
result = (char *) ((arg1)->cache_dir);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_recordings_dir_set(void * jarg1, char * jarg2) {
|
||||
switch_directories *arg1 = (switch_directories *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -4890,6 +4920,16 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MEDIA_TYPE_TOTAL_get() {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SOCK_INVALID_get() {
|
||||
int jresult ;
|
||||
int result;
|
||||
|
||||
result = (int)(-1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_val_set(void * jarg1, char * jarg2) {
|
||||
switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -6230,6 +6270,90 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_payload_map_t(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_sock_set(void * jarg1, int jarg2) {
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
switch_os_socket_t arg2 ;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
arg2 = (switch_os_socket_t)jarg2;
|
||||
if (arg1) (arg1)->sock = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_waitlist_t_sock_get(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
switch_os_socket_t result;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
result = (switch_os_socket_t) ((arg1)->sock);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_events_set(void * jarg1, unsigned long jarg2) {
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
if (arg1) (arg1)->events = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_events_get(void * jarg1) {
|
||||
unsigned long jresult ;
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
result = (uint32_t) ((arg1)->events);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_revents_set(void * jarg1, unsigned long jarg2) {
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
if (arg1) (arg1)->revents = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_revents_get(void * jarg1) {
|
||||
unsigned long jresult ;
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
result = (uint32_t) ((arg1)->revents);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_waitlist_t() {
|
||||
void * jresult ;
|
||||
switch_waitlist_s *result = 0 ;
|
||||
|
||||
result = (switch_waitlist_s *)new switch_waitlist_s();
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_waitlist_t(void * jarg1) {
|
||||
switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ;
|
||||
|
||||
arg1 = (switch_waitlist_s *)jarg1;
|
||||
delete arg1;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_close(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_core_db_t *arg1 = (switch_core_db_t *) 0 ;
|
||||
|
@ -18102,6 +18226,18 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_end_paren(char * jarg1, char ja
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_separate_file_params(char * jarg1, void * jarg2, void * jarg3) {
|
||||
char *arg1 = (char *) 0 ;
|
||||
char **arg2 = (char **) 0 ;
|
||||
char **arg3 = (char **) 0 ;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (char **)jarg2;
|
||||
arg3 = (char **)jarg3;
|
||||
switch_separate_file_params((char const *)arg1,arg2,arg3);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_file_path(char * jarg1) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
|
@ -18426,6 +18562,611 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strerror_r(int jarg1, char * jarg2,
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_sock(int jarg1, unsigned long jarg2, int jarg3) {
|
||||
int jresult ;
|
||||
switch_os_socket_t arg1 ;
|
||||
uint32_t arg2 ;
|
||||
switch_poll_t arg3 ;
|
||||
int result;
|
||||
|
||||
arg1 = (switch_os_socket_t)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
arg3 = (switch_poll_t)jarg3;
|
||||
result = (int)switch_wait_sock(arg1,arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_socklist(void * jarg1, unsigned long jarg2, unsigned long jarg3) {
|
||||
int jresult ;
|
||||
switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
uint32_t arg3 ;
|
||||
int result;
|
||||
|
||||
arg1 = (switch_waitlist_t *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
arg3 = (uint32_t)jarg3;
|
||||
result = (int)switch_wait_socklist(arg1,arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_method_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->method = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->method, (const char *)arg2);
|
||||
} else {
|
||||
arg1->method = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_method_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->method);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_uri_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->uri = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->uri, (const char *)arg2);
|
||||
} else {
|
||||
arg1->uri = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_uri_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->uri);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_qs_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->qs = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->qs, (const char *)arg2);
|
||||
} else {
|
||||
arg1->qs = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_qs_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->qs);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_host_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->host = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->host, (const char *)arg2);
|
||||
} else {
|
||||
arg1->host = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_host_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->host);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_port_set(void * jarg1, unsigned short jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_port_t arg2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (switch_port_t)jarg2;
|
||||
if (arg1) (arg1)->port = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_http_request_t_port_get(void * jarg1) {
|
||||
unsigned short jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_port_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (switch_port_t) ((arg1)->port);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_from_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->from = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->from, (const char *)arg2);
|
||||
} else {
|
||||
arg1->from = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_from_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->from);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_agent_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->user_agent = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->user_agent, (const char *)arg2);
|
||||
} else {
|
||||
arg1->user_agent = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_agent_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->user_agent);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_referer_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->referer = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->referer, (const char *)arg2);
|
||||
} else {
|
||||
arg1->referer = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_referer_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->referer);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->user = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->user, (const char *)arg2);
|
||||
} else {
|
||||
arg1->user = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->user);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_keepalive_set(void * jarg1, int jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (switch_bool_t)jarg2;
|
||||
if (arg1) (arg1)->keepalive = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_request_t_keepalive_get(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (switch_bool_t) ((arg1)->keepalive);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_type_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->content_type = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->content_type, (const char *)arg2);
|
||||
} else {
|
||||
arg1->content_type = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_content_type_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->content_type);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_length_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t arg2 ;
|
||||
switch_size_t *argp2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
argp2 = (switch_size_t *)jarg2;
|
||||
if (!argp2) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return ;
|
||||
}
|
||||
arg2 = *argp2;
|
||||
if (arg1) (arg1)->content_length = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_content_length_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = ((arg1)->content_length);
|
||||
jresult = new switch_size_t((const switch_size_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t arg2 ;
|
||||
switch_size_t *argp2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
argp2 = (switch_size_t *)jarg2;
|
||||
if (!argp2) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return ;
|
||||
}
|
||||
arg2 = *argp2;
|
||||
if (arg1) (arg1)->bytes_header = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = ((arg1)->bytes_header);
|
||||
jresult = new switch_size_t((const switch_size_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t arg2 ;
|
||||
switch_size_t *argp2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
argp2 = (switch_size_t *)jarg2;
|
||||
if (!argp2) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return ;
|
||||
}
|
||||
arg2 = *argp2;
|
||||
if (arg1) (arg1)->bytes_read = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = ((arg1)->bytes_read);
|
||||
jresult = new switch_size_t((const switch_size_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t arg2 ;
|
||||
switch_size_t *argp2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
argp2 = (switch_size_t *)jarg2;
|
||||
if (!argp2) {
|
||||
SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_size_t", 0);
|
||||
return ;
|
||||
}
|
||||
arg2 = *argp2;
|
||||
if (arg1) (arg1)->bytes_buffered = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_size_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = ((arg1)->bytes_buffered);
|
||||
jresult = new switch_size_t((const switch_size_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_headers_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_event_t *arg2 = (switch_event_t *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (switch_event_t *)jarg2;
|
||||
if (arg1) (arg1)->headers = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_headers_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_event_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (switch_event_t *) ((arg1)->headers);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_data_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
void *arg2 = (void *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (void *)jarg2;
|
||||
if (arg1) (arg1)->user_data = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_user_data_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
void *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (void *) ((arg1)->user_data);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__buffer_set(void * jarg1, char * jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
delete [] arg1->_buffer;
|
||||
if (arg2) {
|
||||
arg1->_buffer = (char *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->_buffer, (const char *)arg2);
|
||||
} else {
|
||||
arg1->_buffer = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t__buffer_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (char *) ((arg1)->_buffer);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_set(void * jarg1, int jarg2) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
arg2 = (switch_bool_t)jarg2;
|
||||
if (arg1) (arg1)->_destroy_headers = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_get(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
result = (switch_bool_t) ((arg1)->_destroy_headers);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_http_request_t() {
|
||||
void * jresult ;
|
||||
switch_http_request_s *result = 0 ;
|
||||
|
||||
result = (switch_http_request_s *)new switch_http_request_s();
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_http_request_t(void * jarg1) {
|
||||
switch_http_request_s *arg1 = (switch_http_request_s *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_s *)jarg1;
|
||||
delete arg1;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_parse_header(char * jarg1, unsigned long jarg2, void * jarg3) {
|
||||
int jresult ;
|
||||
char *arg1 = (char *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
switch_http_request_t *arg3 = (switch_http_request_t *) 0 ;
|
||||
switch_status_t result;
|
||||
|
||||
arg1 = (char *)jarg1;
|
||||
arg2 = (uint32_t)jarg2;
|
||||
arg3 = (switch_http_request_t *)jarg3;
|
||||
result = (switch_status_t)switch_http_parse_header(arg1,arg2,arg3);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_free_request(void * jarg1) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
switch_http_free_request(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_dump_request(void * jarg1) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
switch_http_dump_request(arg1);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_parse_qs(void * jarg1, char * jarg2) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
switch_http_parse_qs(arg1,arg2);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) {
|
||||
profile_node_s *arg1 = (profile_node_s *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -20859,6 +21600,28 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_state_handler_table(void * jarg
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_read_function_set(void * jarg1, void * jarg2) {
|
||||
switch_stream_handle *arg1 = (switch_stream_handle *) 0 ;
|
||||
switch_stream_handle_read_function_t arg2 = (switch_stream_handle_read_function_t) 0 ;
|
||||
|
||||
arg1 = (switch_stream_handle *)jarg1;
|
||||
arg2 = (switch_stream_handle_read_function_t)jarg2;
|
||||
if (arg1) (arg1)->read_function = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_read_function_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_stream_handle *arg1 = (switch_stream_handle *) 0 ;
|
||||
switch_stream_handle_read_function_t result;
|
||||
|
||||
arg1 = (switch_stream_handle *)jarg1;
|
||||
result = (switch_stream_handle_read_function_t) ((arg1)->read_function);
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_write_function_set(void * jarg1, void * jarg2) {
|
||||
switch_stream_handle *arg1 = (switch_stream_handle *) 0 ;
|
||||
switch_stream_handle_write_function_t arg2 = (switch_stream_handle_write_function_t) 0 ;
|
||||
|
@ -36232,6 +36995,18 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_force_exists(char * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_is_parsing(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_ivr_dmachine_t *)jarg1;
|
||||
result = (switch_bool_t)switch_ivr_dmachine_is_parsing(arg1);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_last_ping(void * jarg1) {
|
||||
int jresult ;
|
||||
switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ;
|
||||
|
@ -42238,6 +43013,20 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_Stream(void * jarg1) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_read(void * jarg1, void * jarg2) {
|
||||
char * jresult ;
|
||||
Stream *arg1 = (Stream *) 0 ;
|
||||
int *arg2 = (int *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (Stream *)jarg1;
|
||||
arg2 = (int *)jarg2;
|
||||
result = (char *)(arg1)->read(arg2);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_Stream_Write(void * jarg1, char * jarg2) {
|
||||
Stream *arg1 = (Stream *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -42248,6 +43037,18 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Stream_Write(void * jarg1, char * jarg2) {
|
|||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_Stream_raw_write(void * jarg1, char * jarg2, int jarg3) {
|
||||
Stream *arg1 = (Stream *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
int arg3 ;
|
||||
|
||||
arg1 = (Stream *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
arg3 = (int)jarg3;
|
||||
(arg1)->raw_write((char const *)arg2,arg3);
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_get_data(void * jarg1) {
|
||||
char * jresult ;
|
||||
Stream *arg1 = (Stream *) 0 ;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -10593,17 +10593,17 @@ XS(SWIG_init) {
|
|||
SWIG_TypeClientData(SWIGTYPE_p_IVRMenu, (void*) "freeswitch::IVRMenu");
|
||||
SWIG_TypeClientData(SWIGTYPE_p_API, (void*) "freeswitch::API");
|
||||
SWIG_TypeClientData(SWIGTYPE_p_input_callback_state, (void*) "freeswitch::input_callback_state_t");
|
||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
/*@SWIG://share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
SV *sv = get_sv((char*) SWIG_prefix "S_HUP", TRUE | 0x2 | GV_ADDMULTI);
|
||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_HUP)));
|
||||
SvREADONLY_on(sv);
|
||||
} while(0) /*@SWIG@*/;
|
||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
/*@SWIG://share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
SV *sv = get_sv((char*) SWIG_prefix "S_FREE", TRUE | 0x2 | GV_ADDMULTI);
|
||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_FREE)));
|
||||
SvREADONLY_on(sv);
|
||||
} while(0) /*@SWIG@*/;
|
||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
/*@SWIG://share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||
SV *sv = get_sv((char*) SWIG_prefix "S_RDLOCK", TRUE | 0x2 | GV_ADDMULTI);
|
||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_RDLOCK)));
|
||||
SvREADONLY_on(sv);
|
||||
|
|
Loading…
Reference in New Issue