]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
vs2010 reswig
authorJeff Lenk <jeff@jefflenk.com>
Thu, 12 Apr 2012 15:35:26 +0000 (10:35 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 12 Apr 2012 15:35:26 +0000 (10:35 -0500)
src/mod/languages/mod_managed/freeswitch_wrap.2010.cxx
src/mod/languages/mod_managed/managed/swig.2010.cs

index d25bcff52d1721e7c373ac97bce2f814ee305f99..27cc9fb6004b81c74c5d2830dd631fcf41238c42 100644 (file)
@@ -6595,6 +6595,16 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_replace_frame(
 }\r
 \r
 \r
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_cpu_count() {\r
+  unsigned long jresult ;\r
+  uint32_t result;\r
+  \r
+  result = (uint32_t)switch_core_cpu_count();\r
+  jresult = (unsigned long)result; \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove(void * jarg1, void * jarg2) {\r
   int jresult ;\r
   switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;\r
@@ -24949,6 +24959,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_answered(void * ja
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_check_zrtp(void * jarg1) {\r
+  switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
+  \r
+  arg1 = (switch_channel_t *)jarg1; \r
+  switch_channel_check_zrtp(arg1);\r
+}\r
+\r
+\r
 SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_ring_ready_value(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) {\r
   int jresult ;\r
   switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
@@ -25291,19 +25309,21 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_extended_data(void *
 }\r
 \r
 \r
-SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_expand_variables_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {\r
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_expand_variables_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) {\r
   char * jresult ;\r
   switch_channel_t *arg1 = (switch_channel_t *) 0 ;\r
   char *arg2 = (char *) 0 ;\r
   switch_event_t *arg3 = (switch_event_t *) 0 ;\r
   switch_event_t *arg4 = (switch_event_t *) 0 ;\r
+  uint32_t arg5 ;\r
   char *result = 0 ;\r
   \r
   arg1 = (switch_channel_t *)jarg1; \r
   arg2 = (char *)jarg2; \r
   arg3 = (switch_event_t *)jarg3; \r
   arg4 = (switch_event_t *)jarg4; \r
-  result = (char *)switch_channel_expand_variables_check(arg1,(char const *)arg2,arg3,arg4);\r
+  arg5 = (uint32_t)jarg5; \r
+  result = (char *)switch_channel_expand_variables_check(arg1,(char const *)arg2,arg3,arg4,arg5);\r
   jresult = SWIG_csharp_string_callback((const char *)result); \r
   return jresult;\r
 }\r
@@ -26881,19 +26901,21 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_body(void * jarg1, char * jar
 }\r
 \r
 \r
-SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_expand_headers_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {\r
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_expand_headers_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) {\r
   char * jresult ;\r
   switch_event_t *arg1 = (switch_event_t *) 0 ;\r
   char *arg2 = (char *) 0 ;\r
   switch_event_t *arg3 = (switch_event_t *) 0 ;\r
   switch_event_t *arg4 = (switch_event_t *) 0 ;\r
+  uint32_t arg5 ;\r
   char *result = 0 ;\r
   \r
   arg1 = (switch_event_t *)jarg1; \r
   arg2 = (char *)jarg2; \r
   arg3 = (switch_event_t *)jarg3; \r
   arg4 = (switch_event_t *)jarg4; \r
-  result = (char *)switch_event_expand_headers_check(arg1,(char const *)arg2,arg3,arg4);\r
+  arg5 = (uint32_t)jarg5; \r
+  result = (char *)switch_event_expand_headers_check(arg1,(char const *)arg2,arg3,arg4,arg5);\r
   jresult = SWIG_csharp_string_callback((const char *)result); \r
   return jresult;\r
 }\r
@@ -30456,6 +30478,14 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_break(void * jarg1) {
 }\r
 \r
 \r
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_flush(void * jarg1) {\r
+  switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
+  \r
+  arg1 = (switch_rtp_t *)jarg1; \r
+  switch_rtp_flush(arg1);\r
+}\r
+\r
+\r
 SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_ready(void * jarg1) {\r
   unsigned char jresult ;\r
   switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;\r
@@ -31892,6 +31922,20 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml(void * jarg1, int jarg2) {
 }\r
 \r
 \r
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_nolock(void * jarg1, int jarg2) {\r
+  char * jresult ;\r
+  switch_xml_t arg1 = (switch_xml_t) 0 ;\r
+  switch_bool_t arg2 ;\r
+  char *result = 0 ;\r
+  \r
+  arg1 = (switch_xml_t)jarg1; \r
+  arg2 = (switch_bool_t)jarg2; \r
+  result = (char *)switch_xml_toxml_nolock(arg1,arg2);\r
+  jresult = SWIG_csharp_string_callback((const char *)result); \r
+  return jresult;\r
+}\r
+\r
+\r
 SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_buf(void * jarg1, char * jarg2, void * jarg3, void * jarg4, int jarg5) {\r
   char * jresult ;\r
   switch_xml_t arg1 = (switch_xml_t) 0 ;\r
index 336e468c61e8ec45c2318a1e3216aa447dc35552..d814ce15b90c40ba29ba4567be65329ee818243c 100644 (file)
@@ -1131,6 +1131,11 @@ public class freeswitch {
     freeswitchPINVOKE.switch_core_media_bug_set_read_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_frame.getCPtr(frame));\r
   }\r
 \r
+  public static uint switch_core_cpu_count() {\r
+    uint ret = freeswitchPINVOKE.switch_core_cpu_count();\r
+    return ret;\r
+  }\r
+\r
   public static switch_status_t switch_core_media_bug_remove(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_media_bug bug) {\r
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_remove(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_media_bug.getCPtr(bug));\r
     return ret;\r
@@ -3830,6 +3835,10 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
+  public static void switch_channel_check_zrtp(SWIGTYPE_p_switch_channel channel) {\r
+    freeswitchPINVOKE.switch_channel_check_zrtp(SWIGTYPE_p_switch_channel.getCPtr(channel));\r
+  }\r
+\r
   public static switch_status_t switch_channel_perform_ring_ready_value(SWIGTYPE_p_switch_channel channel, switch_ring_ready_t rv, string file, string func, int line) {\r
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_channel_perform_ring_ready_value(SWIGTYPE_p_switch_channel.getCPtr(channel), (int)rv, file, func, line);\r
     return ret;\r
@@ -3949,8 +3958,8 @@ public class freeswitch {
     freeswitchPINVOKE.switch_channel_event_set_extended_data(SWIGTYPE_p_switch_channel.getCPtr(channel), switch_event.getCPtr(arg1));\r
   }\r
 \r
-  public static string switch_channel_expand_variables_check(SWIGTYPE_p_switch_channel channel, string arg1, switch_event var_list, switch_event api_list) {\r
-    string ret = freeswitchPINVOKE.switch_channel_expand_variables_check(SWIGTYPE_p_switch_channel.getCPtr(channel), arg1, switch_event.getCPtr(var_list), switch_event.getCPtr(api_list));\r
+  public static string switch_channel_expand_variables_check(SWIGTYPE_p_switch_channel channel, string arg1, switch_event var_list, switch_event api_list, uint recur) {\r
+    string ret = freeswitchPINVOKE.switch_channel_expand_variables_check(SWIGTYPE_p_switch_channel.getCPtr(channel), arg1, switch_event.getCPtr(var_list), switch_event.getCPtr(api_list), recur);\r
     return ret;\r
   }\r
 \r
@@ -4332,8 +4341,8 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
-  public static string switch_event_expand_headers_check(switch_event arg0, string arg1, switch_event var_list, switch_event api_list) {\r
-    string ret = freeswitchPINVOKE.switch_event_expand_headers_check(switch_event.getCPtr(arg0), arg1, switch_event.getCPtr(var_list), switch_event.getCPtr(api_list));\r
+  public static string switch_event_expand_headers_check(switch_event arg0, string arg1, switch_event var_list, switch_event api_list, uint recur) {\r
+    string ret = freeswitchPINVOKE.switch_event_expand_headers_check(switch_event.getCPtr(arg0), arg1, switch_event.getCPtr(var_list), switch_event.getCPtr(api_list), recur);\r
     return ret;\r
   }\r
 \r
@@ -5183,6 +5192,10 @@ public class freeswitch {
     freeswitchPINVOKE.switch_rtp_break(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));\r
   }\r
 \r
+  public static void switch_rtp_flush(SWIGTYPE_p_switch_rtp rtp_session) {\r
+    freeswitchPINVOKE.switch_rtp_flush(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));\r
+  }\r
+\r
   public static byte switch_rtp_ready(SWIGTYPE_p_switch_rtp rtp_session) {\r
     byte ret = freeswitchPINVOKE.switch_rtp_ready(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));\r
     return ret;\r
@@ -5495,6 +5508,11 @@ public class freeswitch {
     return ret;\r
   }\r
 \r
+  public static string switch_xml_toxml_nolock(switch_xml xml, switch_bool_t prn_header) {\r
+    string ret = freeswitchPINVOKE.switch_xml_toxml_nolock(switch_xml.getCPtr(xml), (int)prn_header);\r
+    return ret;\r
+  }\r
+\r
   public static string switch_xml_toxml_buf(switch_xml xml, string buf, SWIGTYPE_p_switch_size_t buflen, SWIGTYPE_p_switch_size_t offset, switch_bool_t prn_header) {\r
     string ret = freeswitchPINVOKE.switch_xml_toxml_buf(switch_xml.getCPtr(xml), buf, SWIGTYPE_p_switch_size_t.getCPtr(buflen), SWIGTYPE_p_switch_size_t.getCPtr(offset), (int)prn_header);\r
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();\r
@@ -7973,6 +7991,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_read_replace_frame")]\r
   public static extern void switch_core_media_bug_set_read_replace_frame(HandleRef jarg1, HandleRef jarg2);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cpu_count")]\r
+  public static extern uint switch_core_cpu_count();\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove")]\r
   public static extern int switch_core_media_bug_remove(HandleRef jarg1, HandleRef jarg2);\r
 \r
@@ -12419,6 +12440,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_answered")]\r
   public static extern int switch_channel_perform_mark_answered(HandleRef jarg1, string jarg2, string jarg3, int jarg4);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_check_zrtp")]\r
+  public static extern void switch_channel_check_zrtp(HandleRef jarg1);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_ring_ready_value")]\r
   public static extern int switch_channel_perform_ring_ready_value(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5);\r
 \r
@@ -12492,7 +12516,7 @@ class freeswitchPINVOKE {
   public static extern void switch_channel_event_set_extended_data(HandleRef jarg1, HandleRef jarg2);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_expand_variables_check")]\r
-  public static extern string switch_channel_expand_variables_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);\r
+  public static extern string switch_channel_expand_variables_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_build_param_string")]\r
   public static extern string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3);\r
@@ -12846,7 +12870,7 @@ class freeswitchPINVOKE {
   public static extern int switch_event_set_body(HandleRef jarg1, string jarg2);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_event_expand_headers_check")]\r
-  public static extern string switch_event_expand_headers_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);\r
+  public static extern string switch_event_expand_headers_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5);\r
 \r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_pres_in_detailed")]\r
   public static extern int switch_event_create_pres_in_detailed(string jarg1, string jarg2, int jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11, string jarg12, string jarg13, string jarg14, string jarg15);\r
@@ -13577,6 +13601,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_break")]\r
   public static extern void switch_rtp_break(HandleRef jarg1);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_flush")]\r
+  public static extern void switch_rtp_flush(HandleRef jarg1);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ready")]\r
   public static extern byte switch_rtp_ready(HandleRef jarg1);\r
 \r
@@ -13910,6 +13937,9 @@ class freeswitchPINVOKE {
   [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml")]\r
   public static extern string switch_xml_toxml(HandleRef jarg1, int jarg2);\r
 \r
+  [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml_nolock")]\r
+  public static extern string switch_xml_toxml_nolock(HandleRef jarg1, int jarg2);\r
+\r
   [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml_buf")]\r
   public static extern string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5);\r
 \r
@@ -23022,6 +23052,8 @@ public enum switch_channel_flag_t {
   CF_VIDEO_REFRESH_REQ,\r
   CF_SERVICE_AUDIO,\r
   CF_SERVICE_VIDEO,\r
+  CF_ZRTP_HASH,\r
+  CF_ZRTP_PASS,\r
   CF_FLAG_MAX\r
 }\r
 \r
@@ -24627,7 +24659,8 @@ namespace FreeSWITCH.Native {
   SCF_CLEAR_SQL = (1 << 17),\r
   SCF_THREADED_SYSTEM_EXEC = (1 << 18),\r
   SCF_SYNC_CLOCK_REQUESTED = (1 << 19),\r
-  SCF_CORE_ODBC_REQ = (1 << 20)\r
+  SCF_CORE_ODBC_REQ = (1 << 20),\r
+  SCF_DEBUG_SQL = (1 << 21)\r
 }\r
 \r
 }\r
@@ -31284,7 +31317,8 @@ public enum switch_session_ctl_t {
   SCSC_PAUSE_CHECK,\r
   SCSC_READY_CHECK,\r
   SCSC_THREADED_SYSTEM_EXEC,\r
-  SCSC_SYNC_CLOCK_WHEN_IDLE\r
+  SCSC_SYNC_CLOCK_WHEN_IDLE,\r
+  SCSC_DEBUG_SQL\r
 }\r
 \r
 }\r