[Freeswitch-svn] [commit] r12238 - in freeswitch/trunk/src/mod/languages/mod_managed: . managed
FreeSWITCH SVN
mikej at freeswitch.org
Sun Feb 22 20:36:56 PST 2009
Author: mikej
Date: Sun Feb 22 22:36:56 2009
New Revision: 12238
Log:
swigall
Modified:
freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
Modified: freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx (original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/freeswitch_wrap.cxx Sun Feb 22 22:36:56 2009
@@ -6061,15 +6061,17 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_event(void * jarg1, void * jarg2) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_event(void * jarg1, void * jarg2, int jarg3) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
switch_event_t **arg2 = (switch_event_t **) 0 ;
+ switch_bool_t arg3 ;
switch_status_t result;
arg1 = (switch_core_session_t *)jarg1;
arg2 = (switch_event_t **)jarg2;
- result = (switch_status_t)switch_core_session_dequeue_event(arg1,arg2);
+ arg3 = (switch_bool_t)jarg3;
+ result = (switch_status_t)switch_core_session_dequeue_event(arg1,arg2,arg3);
jresult = result;
return jresult;
}
@@ -19536,17 +19538,23 @@
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_subclass(void * jarg1, int jarg2, char * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_subclass_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5, char * jarg6) {
int jresult ;
- switch_event_t **arg1 = (switch_event_t **) 0 ;
- switch_event_types_t arg2 ;
- char *arg3 = (char *) 0 ;
+ char *arg1 = (char *) 0 ;
+ char *arg2 = (char *) 0 ;
+ int arg3 ;
+ switch_event_t **arg4 = (switch_event_t **) 0 ;
+ switch_event_types_t arg5 ;
+ char *arg6 = (char *) 0 ;
switch_status_t result;
- arg1 = (switch_event_t **)jarg1;
- arg2 = (switch_event_types_t)jarg2;
- arg3 = (char *)jarg3;
- result = (switch_status_t)switch_event_create_subclass(arg1,arg2,(char const *)arg3);
+ arg1 = (char *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (int)jarg3;
+ arg4 = (switch_event_t **)jarg4;
+ arg5 = (switch_event_types_t)jarg5;
+ arg6 = (char *)jarg6;
+ result = (switch_status_t)switch_event_create_subclass_detailed((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6);
jresult = result;
return jresult;
}
@@ -19666,6 +19674,20 @@
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_prep_for_delivery_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4) {
+ char *arg1 = (char *) 0 ;
+ char *arg2 = (char *) 0 ;
+ int arg3 ;
+ switch_event_t *arg4 = (switch_event_t *) 0 ;
+
+ arg1 = (char *)jarg1;
+ arg2 = (char *)jarg2;
+ arg3 = (int)jarg3;
+ arg4 = (switch_event_t *)jarg4;
+ switch_event_prep_for_delivery_detailed((char const *)arg1,(char const *)arg2,arg3,arg4);
+}
+
+
SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5) {
int jresult ;
char *arg1 = (char *) 0 ;
Modified: freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs (original)
+++ freeswitch/trunk/src/mod/languages/mod_managed/managed/swig.cs Sun Feb 22 22:36:56 2009
@@ -1317,8 +1317,8 @@
return ret;
}
- public static switch_status_t switch_core_session_dequeue_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1));
+ public static switch_status_t switch_core_session_dequeue_event(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_event arg1, switch_bool_t force) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_dequeue_event(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_event.getCPtr(arg1), (int)force);
return ret;
}
@@ -2759,8 +2759,8 @@
return ret;
}
- public static switch_status_t switch_event_create_subclass(SWIGTYPE_p_p_switch_event arg0, switch_event_types_t event_id, string subclass_name) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_subclass(SWIGTYPE_p_p_switch_event.getCPtr(arg0), (int)event_id, subclass_name);
+ public static switch_status_t switch_event_create_subclass_detailed(string file, string func, int line, SWIGTYPE_p_p_switch_event arg3, switch_event_types_t event_id, string subclass_name) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_create_subclass_detailed(file, func, line, SWIGTYPE_p_p_switch_event.getCPtr(arg3), (int)event_id, subclass_name);
return ret;
}
@@ -2803,6 +2803,10 @@
return ret;
}
+ public static void switch_event_prep_for_delivery_detailed(string file, string func, int line, switch_event arg3) {
+ freeswitchPINVOKE.switch_event_prep_for_delivery_detailed(file, func, line, switch_event.getCPtr(arg3));
+ }
+
public static switch_status_t switch_event_bind(string id, switch_event_types_t arg1, string subclass_name, SWIGTYPE_p_f_p_switch_event__void callback, SWIGTYPE_p_void user_data) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_event_bind(id, (int)arg1, subclass_name, SWIGTYPE_p_f_p_switch_event__void.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data));
return ret;
@@ -5852,7 +5856,7 @@
public static extern uint switch_core_session_event_count(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_event")]
- public static extern int switch_core_session_dequeue_event(HandleRef jarg1, HandleRef jarg2);
+ public static extern int switch_core_session_dequeue_event(HandleRef jarg1, HandleRef jarg2, int jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_private_event")]
public static extern int switch_core_session_queue_private_event(HandleRef jarg1, HandleRef jarg2);
@@ -9079,8 +9083,8 @@
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_shutdown")]
public static extern int switch_event_shutdown();
- [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_subclass")]
- public static extern int switch_event_create_subclass(HandleRef jarg1, int jarg2, string jarg3);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_subclass_detailed")]
+ public static extern int switch_event_create_subclass_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, int jarg5, string jarg6);
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_priority")]
public static extern int switch_event_set_priority(HandleRef jarg1, int jarg2);
@@ -9106,6 +9110,9 @@
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_fire_detailed")]
public static extern int switch_event_fire_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, HandleRef jarg5);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_event_prep_for_delivery_detailed")]
+ public static extern void switch_event_prep_for_delivery_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind")]
public static extern int switch_event_bind(string jarg1, int jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5);
@@ -17272,6 +17279,7 @@
CF_REQ_MEDIA,
CF_VERBOSE_EVENTS,
CF_PAUSE_BUGS,
+ CF_DIVERT_EVENTS,
CF_FLAG_MAX
}
@@ -20095,6 +20103,8 @@
SWITCH_EVENT_GENERAL,
SWITCH_EVENT_COMMAND,
SWITCH_EVENT_SESSION_HEARTBEAT,
+ SWITCH_EVENT_CLIENT_DISCONNECTED,
+ SWITCH_EVENT_SERVER_DISCONNECTED,
SWITCH_EVENT_ALL
}
More information about the Freeswitch-svn
mailing list