vs2010 reswig
This commit is contained in:
parent
2eed5ecf07
commit
f63ad553f7
|
@ -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;
|
||||
{
|
||||
if (arg1->cache_dir) 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_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
switch_os_socket_t arg2 ;
|
||||
|
||||
arg1 = (switch_waitlist_t *)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_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
switch_os_socket_t result;
|
||||
|
||||
arg1 = (switch_waitlist_t *)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_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_waitlist_t *)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_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_waitlist_t *)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_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
uint32_t arg2 ;
|
||||
|
||||
arg1 = (switch_waitlist_t *)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_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
uint32_t result;
|
||||
|
||||
arg1 = (switch_waitlist_t *)jarg1;
|
||||
result = (uint32_t) ((arg1)->revents);
|
||||
jresult = (unsigned long)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_waitlist_t() {
|
||||
void * jresult ;
|
||||
switch_waitlist_t *result = 0 ;
|
||||
|
||||
result = (switch_waitlist_t *)new switch_waitlist_t();
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_waitlist_t(void * jarg1) {
|
||||
switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ;
|
||||
|
||||
arg1 = (switch_waitlist_t *)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,517 @@ 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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_port_t arg2 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_port_t result;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
result = (switch_bool_t) ((arg1)->keepalive);
|
||||
jresult = result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_headers_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_event_t *arg2 = (switch_event_t *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_event_t *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
void *arg2 = (void *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
void *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
arg2 = (char *)jarg2;
|
||||
{
|
||||
if (arg1->_buffer) 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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
result = (char *) ((arg1)->_buffer);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__unparsed_data_set(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;
|
||||
{
|
||||
if (arg2) {
|
||||
arg1->_unparsed_data = (char const *) (new char[strlen((const char *)arg2)+1]);
|
||||
strcpy((char *)arg1->_unparsed_data, (const char *)arg2);
|
||||
} else {
|
||||
arg1->_unparsed_data = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t__unparsed_data_get(void * jarg1) {
|
||||
char * jresult ;
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
char *result = 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
result = (char *) ((arg1)->_unparsed_data);
|
||||
jresult = SWIG_csharp_string_callback((const char *)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__unparsed_len_set(void * jarg1, void * jarg2) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_size_t arg2 ;
|
||||
switch_size_t *argp2 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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)->_unparsed_len = arg2;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t__unparsed_len_get(void * jarg1) {
|
||||
void * jresult ;
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_size_t result;
|
||||
|
||||
arg1 = (switch_http_request_t *)jarg1;
|
||||
result = ((arg1)->_unparsed_len);
|
||||
jresult = new switch_size_t((const switch_size_t &)result);
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_set(void * jarg1, int jarg2) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_bool_t arg2 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
switch_bool_t result;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_t *result = 0 ;
|
||||
|
||||
result = (switch_http_request_t *)new switch_http_request_t();
|
||||
jresult = (void *)result;
|
||||
return jresult;
|
||||
}
|
||||
|
||||
|
||||
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_http_request_t(void * jarg1) {
|
||||
switch_http_request_t *arg1 = (switch_http_request_t *) 0 ;
|
||||
|
||||
arg1 = (switch_http_request_t *)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_profile_node_t_var_set(void * jarg1, char * jarg2) {
|
||||
profile_node_t *arg1 = (profile_node_t *) 0 ;
|
||||
char *arg2 = (char *) 0 ;
|
||||
|
@ -20859,6 +21506,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 +36901,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 +42919,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 +42943,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 ;
|
||||
|
|
|
@ -3948,6 +3948,10 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_separate_file_params(string file, ref string file_portion, ref string params_portion) {
|
||||
freeswitchPINVOKE.switch_separate_file_params(file, ref file_portion, ref params_portion);
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_is_file_path(string file) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_is_file_path(file);
|
||||
return ret;
|
||||
|
@ -4054,6 +4058,29 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_wait_sock(int sock, uint ms, switch_poll_t flags) {
|
||||
int ret = freeswitchPINVOKE.switch_wait_sock(sock, ms, (int)flags);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static int switch_wait_socklist(switch_waitlist_t waitlist, uint len, uint ms) {
|
||||
int ret = freeswitchPINVOKE.switch_wait_socklist(switch_waitlist_t.getCPtr(waitlist), len, ms);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_http_parse_header(string buffer, uint datalen, switch_http_request_t request) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_http_parse_header(buffer, datalen, switch_http_request_t.getCPtr(request));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void switch_http_free_request(switch_http_request_t request) {
|
||||
freeswitchPINVOKE.switch_http_free_request(switch_http_request_t.getCPtr(request));
|
||||
}
|
||||
|
||||
public static void switch_http_dump_request(switch_http_request_t request) {
|
||||
freeswitchPINVOKE.switch_http_dump_request(switch_http_request_t.getCPtr(request));
|
||||
}
|
||||
|
||||
public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number);
|
||||
switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false);
|
||||
|
@ -5894,6 +5921,11 @@ public class freeswitch {
|
|||
return ret;
|
||||
}
|
||||
|
||||
public static switch_bool_t switch_ivr_dmachine_is_parsing(SWIGTYPE_p_switch_ivr_dmachine dmachine) {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_ivr_dmachine_is_parsing(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static switch_status_t switch_ivr_dmachine_last_ping(SWIGTYPE_p_switch_ivr_dmachine dmachine) {
|
||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_dmachine_last_ping(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine));
|
||||
return ret;
|
||||
|
@ -7093,6 +7125,7 @@ public class freeswitch {
|
|||
public static readonly int SWITCH_MAX_MANAGEMENT_BUFFER_LEN = freeswitchPINVOKE.SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get();
|
||||
public static readonly int SWITCH_RTP_CNG_PAYLOAD = freeswitchPINVOKE.SWITCH_RTP_CNG_PAYLOAD_get();
|
||||
public static readonly int SWITCH_MEDIA_TYPE_TOTAL = freeswitchPINVOKE.SWITCH_MEDIA_TYPE_TOTAL_get();
|
||||
public static readonly int SWITCH_SOCK_INVALID = freeswitchPINVOKE.SWITCH_SOCK_INVALID_get();
|
||||
public static readonly int DMACHINE_MAX_DIGIT_LEN = freeswitchPINVOKE.DMACHINE_MAX_DIGIT_LEN_get();
|
||||
public static readonly int MAX_ARG_RECURSION = freeswitchPINVOKE.MAX_ARG_RECURSION_get();
|
||||
public static readonly int SWITCH_API_VERSION = freeswitchPINVOKE.SWITCH_API_VERSION_get();
|
||||
|
@ -8021,6 +8054,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_directories_storage_dir_get")]
|
||||
public static extern string switch_directories_storage_dir_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_directories_cache_dir_set")]
|
||||
public static extern void switch_directories_cache_dir_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_directories_cache_dir_get")]
|
||||
public static extern string switch_directories_cache_dir_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_directories_recordings_dir_set")]
|
||||
public static extern void switch_directories_recordings_dir_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -8585,6 +8624,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MEDIA_TYPE_TOTAL_get")]
|
||||
public static extern int SWITCH_MEDIA_TYPE_TOTAL_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SOCK_INVALID_get")]
|
||||
public static extern int SWITCH_SOCK_INVALID_get();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_set")]
|
||||
public static extern void switch_console_callback_match_node_val_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -8942,6 +8984,30 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_delete_payload_map_t")]
|
||||
public static extern void delete_payload_map_t(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_sock_set")]
|
||||
public static extern void switch_waitlist_t_sock_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_sock_get")]
|
||||
public static extern int switch_waitlist_t_sock_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_events_set")]
|
||||
public static extern void switch_waitlist_t_events_set(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_events_get")]
|
||||
public static extern uint switch_waitlist_t_events_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_revents_set")]
|
||||
public static extern void switch_waitlist_t_revents_set(HandleRef jarg1, uint jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_revents_get")]
|
||||
public static extern uint switch_waitlist_t_revents_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_waitlist_t")]
|
||||
public static extern IntPtr new_switch_waitlist_t();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_waitlist_t")]
|
||||
public static extern void delete_switch_waitlist_t(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_close")]
|
||||
public static extern int switch_core_db_close(HandleRef jarg1);
|
||||
|
||||
|
@ -11711,6 +11777,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_find_end_paren")]
|
||||
public static extern string switch_find_end_paren(string jarg1, char jarg2, char jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_separate_file_params")]
|
||||
public static extern void switch_separate_file_params(string jarg1, ref string jarg2, ref string jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_is_file_path")]
|
||||
public static extern int switch_is_file_path(string jarg1);
|
||||
|
||||
|
@ -11774,6 +11843,123 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_strerror_r")]
|
||||
public static extern string switch_strerror_r(int jarg1, string jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_wait_sock")]
|
||||
public static extern int switch_wait_sock(int jarg1, uint jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_wait_socklist")]
|
||||
public static extern int switch_wait_socklist(HandleRef jarg1, uint jarg2, uint jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_method_set")]
|
||||
public static extern void switch_http_request_t_method_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_method_get")]
|
||||
public static extern string switch_http_request_t_method_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_uri_set")]
|
||||
public static extern void switch_http_request_t_uri_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_uri_get")]
|
||||
public static extern string switch_http_request_t_uri_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_qs_set")]
|
||||
public static extern void switch_http_request_t_qs_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_qs_get")]
|
||||
public static extern string switch_http_request_t_qs_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_host_set")]
|
||||
public static extern void switch_http_request_t_host_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_host_get")]
|
||||
public static extern string switch_http_request_t_host_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_port_set")]
|
||||
public static extern void switch_http_request_t_port_set(HandleRef jarg1, ushort jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_port_get")]
|
||||
public static extern ushort switch_http_request_t_port_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_from_set")]
|
||||
public static extern void switch_http_request_t_from_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_from_get")]
|
||||
public static extern string switch_http_request_t_from_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_agent_set")]
|
||||
public static extern void switch_http_request_t_user_agent_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_agent_get")]
|
||||
public static extern string switch_http_request_t_user_agent_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_referer_set")]
|
||||
public static extern void switch_http_request_t_referer_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_referer_get")]
|
||||
public static extern string switch_http_request_t_referer_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_set")]
|
||||
public static extern void switch_http_request_t_user_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_get")]
|
||||
public static extern string switch_http_request_t_user_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_keepalive_set")]
|
||||
public static extern void switch_http_request_t_keepalive_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_keepalive_get")]
|
||||
public static extern int switch_http_request_t_keepalive_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_headers_set")]
|
||||
public static extern void switch_http_request_t_headers_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_headers_get")]
|
||||
public static extern IntPtr switch_http_request_t_headers_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_data_set")]
|
||||
public static extern void switch_http_request_t_user_data_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_data_get")]
|
||||
public static extern IntPtr switch_http_request_t_user_data_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__buffer_set")]
|
||||
public static extern void switch_http_request_t__buffer_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__buffer_get")]
|
||||
public static extern string switch_http_request_t__buffer_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__unparsed_data_set")]
|
||||
public static extern void switch_http_request_t__unparsed_data_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__unparsed_data_get")]
|
||||
public static extern string switch_http_request_t__unparsed_data_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__unparsed_len_set")]
|
||||
public static extern void switch_http_request_t__unparsed_len_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__unparsed_len_get")]
|
||||
public static extern IntPtr switch_http_request_t__unparsed_len_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__destroy_headers_set")]
|
||||
public static extern void switch_http_request_t__destroy_headers_set(HandleRef jarg1, int jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__destroy_headers_get")]
|
||||
public static extern int switch_http_request_t__destroy_headers_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_http_request_t")]
|
||||
public static extern IntPtr new_switch_http_request_t();
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_http_request_t")]
|
||||
public static extern void delete_switch_http_request_t(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_parse_header")]
|
||||
public static extern int switch_http_parse_header(string jarg1, uint jarg2, HandleRef jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_free_request")]
|
||||
public static extern void switch_http_free_request(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_http_dump_request")]
|
||||
public static extern void switch_http_dump_request(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")]
|
||||
public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2);
|
||||
|
||||
|
@ -12371,6 +12557,12 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_state_handler_table")]
|
||||
public static extern void delete_switch_state_handler_table(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_read_function_set")]
|
||||
public static extern void switch_stream_handle_read_function_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_read_function_get")]
|
||||
public static extern IntPtr switch_stream_handle_read_function_get(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_write_function_set")]
|
||||
public static extern void switch_stream_handle_write_function_set(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
|
@ -16070,6 +16262,9 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_force_exists")]
|
||||
public static extern int switch_ivr_uuid_force_exists(string jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_is_parsing")]
|
||||
public static extern int switch_ivr_dmachine_is_parsing(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_last_ping")]
|
||||
public static extern int switch_ivr_dmachine_last_ping(HandleRef jarg1);
|
||||
|
||||
|
@ -17504,9 +17699,15 @@ class freeswitchPINVOKE {
|
|||
[DllImport("mod_managed", EntryPoint="CSharp_delete_Stream")]
|
||||
public static extern void delete_Stream(HandleRef jarg1);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Stream_read")]
|
||||
public static extern string Stream_read(HandleRef jarg1, HandleRef jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Stream_Write")]
|
||||
public static extern void Stream_Write(HandleRef jarg1, string jarg2);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Stream_raw_write")]
|
||||
public static extern void Stream_raw_write(HandleRef jarg1, string jarg2, int jarg3);
|
||||
|
||||
[DllImport("mod_managed", EntryPoint="CSharp_Stream_get_data")]
|
||||
public static extern string Stream_get_data(HandleRef jarg1);
|
||||
|
||||
|
@ -18865,10 +19066,19 @@ public partial class Stream : IDisposable {
|
|||
public Stream(switch_stream_handle arg0) : this(freeswitchPINVOKE.new_Stream__SWIG_1(switch_stream_handle.getCPtr(arg0)), true) {
|
||||
}
|
||||
|
||||
public string read(SWIGTYPE_p_int len) {
|
||||
string ret = freeswitchPINVOKE.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len));
|
||||
return ret;
|
||||
}
|
||||
|
||||
public void Write(string data) {
|
||||
freeswitchPINVOKE.Stream_Write(swigCPtr, data);
|
||||
}
|
||||
|
||||
public void raw_write(string data, int len) {
|
||||
freeswitchPINVOKE.Stream_raw_write(swigCPtr, data, len);
|
||||
}
|
||||
|
||||
public string get_data() {
|
||||
string ret = freeswitchPINVOKE.Stream_get_data(swigCPtr);
|
||||
return ret;
|
||||
|
@ -21440,6 +21650,36 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
internal SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(IntPtr cPtr, bool futureUse) {
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
protected SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char() {
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t {
|
||||
private HandleRef swigCPtr;
|
||||
|
||||
|
@ -30726,6 +30966,16 @@ public class switch_directories : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public string cache_dir {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_directories_cache_dir_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_directories_cache_dir_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string recordings_dir {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_directories_recordings_dir_set(swigCPtr, value);
|
||||
|
@ -32963,6 +33213,219 @@ public class switch_hold_record_t : IDisposable {
|
|||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class switch_http_request_t : IDisposable {
|
||||
private HandleRef swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
||||
internal switch_http_request_t(IntPtr cPtr, bool cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(switch_http_request_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
|
||||
~switch_http_request_t() {
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
freeswitchPINVOKE.delete_switch_http_request_t(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public string method {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_method_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_method_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string uri {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_uri_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_uri_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string qs {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_qs_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_qs_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string host {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_host_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_host_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public ushort port {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_port_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
ushort ret = freeswitchPINVOKE.switch_http_request_t_port_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string from {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_from_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_from_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string user_agent {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_user_agent_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_user_agent_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string referer {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_referer_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_referer_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string user {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_user_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t_user_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_bool_t keepalive {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_keepalive_set(swigCPtr, (int)value);
|
||||
}
|
||||
get {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_http_request_t_keepalive_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_event headers {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_headers_set(swigCPtr, switch_event.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_headers_get(swigCPtr);
|
||||
switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_void user_data {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_user_data_get(swigCPtr);
|
||||
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string _buffer {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t__buffer_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t__buffer_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public string _unparsed_data {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t__unparsed_data_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
string ret = freeswitchPINVOKE.switch_http_request_t__unparsed_data_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_switch_size_t _unparsed_len {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t__unparsed_len_set(swigCPtr, SWIGTYPE_p_switch_size_t.getCPtr(value));
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
}
|
||||
get {
|
||||
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_http_request_t__unparsed_len_get(swigCPtr), true);
|
||||
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_bool_t _destroy_headers {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_http_request_t__destroy_headers_set(swigCPtr, (int)value);
|
||||
}
|
||||
get {
|
||||
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_http_request_t__destroy_headers_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_http_request_t() : this(freeswitchPINVOKE.new_switch_http_request_t(), true) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_hup_type_t {
|
||||
SHT_NONE = 0,
|
||||
SHT_UNANSWERED = (1 << 0),
|
||||
|
@ -35701,6 +36164,28 @@ namespace FreeSWITCH.Native {
|
|||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
public enum switch_poll_t {
|
||||
SWITCH_POLL_READ = (1 << 0),
|
||||
SWITCH_POLL_WRITE = (1 << 1),
|
||||
SWITCH_POLL_ERROR = (1 << 2),
|
||||
SWITCH_POLL_HUP = (1 << 3),
|
||||
SWITCH_POLL_RDNORM = (1 << 4),
|
||||
SWITCH_POLL_RDBAND = (1 << 5),
|
||||
SWITCH_POLL_PRI = (1 << 6),
|
||||
SWITCH_POLL_INVALID = (1 << 7)
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
[System.Flags] public enum switch_port_flag_enum_t {
|
||||
SPF_NONE = 0,
|
||||
SPF_ODD = (1 << 0),
|
||||
|
@ -38554,6 +39039,17 @@ public class switch_stream_handle : IDisposable {
|
|||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char read_function {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_stream_handle_read_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char.getCPtr(value));
|
||||
}
|
||||
get {
|
||||
IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_read_function_get(swigCPtr);
|
||||
SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t write_function {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_stream_handle_write_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t.getCPtr(value));
|
||||
|
@ -39634,6 +40130,85 @@ namespace FreeSWITCH.Native {
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class switch_waitlist_t : IDisposable {
|
||||
private HandleRef swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
||||
internal switch_waitlist_t(IntPtr cPtr, bool cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = new HandleRef(this, cPtr);
|
||||
}
|
||||
|
||||
internal static HandleRef getCPtr(switch_waitlist_t obj) {
|
||||
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||
}
|
||||
|
||||
~switch_waitlist_t() {
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public virtual void Dispose() {
|
||||
lock(this) {
|
||||
if (swigCPtr.Handle != IntPtr.Zero) {
|
||||
if (swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
freeswitchPINVOKE.delete_switch_waitlist_t(swigCPtr);
|
||||
}
|
||||
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||
}
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
public int sock {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_waitlist_t_sock_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
int ret = freeswitchPINVOKE.switch_waitlist_t_sock_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public uint events {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_waitlist_t_events_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
uint ret = freeswitchPINVOKE.switch_waitlist_t_events_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public uint revents {
|
||||
set {
|
||||
freeswitchPINVOKE.switch_waitlist_t_revents_set(swigCPtr, value);
|
||||
}
|
||||
get {
|
||||
uint ret = freeswitchPINVOKE.switch_waitlist_t_revents_get(swigCPtr);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
public switch_waitlist_t() : this(freeswitchPINVOKE.new_switch_waitlist_t(), true) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 2.0.1
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
namespace FreeSWITCH.Native {
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public class switch_xml : IDisposable {
|
||||
private HandleRef swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
|
|
@ -306,7 +306,12 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="freeswitch_managed.cpp" />
|
||||
<ClCompile Include="freeswitch_wrap.2010.cxx" />
|
||||
<ClCompile Include="freeswitch_wrap.2010.cxx">
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug_CLR|x64'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release_CLR|x64'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release_CLR|Win32'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug_CLR|Win32'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<ClCompile Include="mod_managed.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -322,7 +322,12 @@
|
|||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="freeswitch_managed.cpp" />
|
||||
<ClCompile Include="freeswitch_wrap.2010.cxx" />
|
||||
<ClCompile Include="freeswitch_wrap.2010.cxx">
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug_CLR|x64'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release_CLR|x64'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Release_CLR|Win32'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug_CLR|Win32'">4505;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
</ClCompile>
|
||||
<ClCompile Include="mod_managed.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -343,4 +348,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
Loading…
Reference in New Issue