コード例 #1
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static SWIGTYPE_p_real_pcre switch_regex_compile(string pattern, int options, ref string errorptr, SWIGTYPE_p_int erroroffset, SWIGTYPE_p_unsigned_char tables)
 {
     IntPtr cPtr = freeswitchPINVOKE.switch_regex_compile(pattern, options, ref errorptr, SWIGTYPE_p_int.getCPtr(erroroffset), SWIGTYPE_p_unsigned_char.getCPtr(tables));
     SWIGTYPE_p_real_pcre ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_real_pcre(cPtr, false);
     return ret;
 }
コード例 #2
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static int switch_regex_copy_substring(string subject, SWIGTYPE_p_int ovector, int stringcount, int stringnumber, string buffer, int size)
 {
     int ret = freeswitchPINVOKE.switch_regex_copy_substring(subject, SWIGTYPE_p_int.getCPtr(ovector), stringcount, stringnumber, buffer, size);
     return ret;
 }
コード例 #3
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static switch_status_t switch_find_local_ip(string buf, int len, SWIGTYPE_p_int mask, int family)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_find_local_ip(buf, len, SWIGTYPE_p_int.getCPtr(mask), family);
     return ret;
 }
コード例 #4
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static void switch_perform_substitution(SWIGTYPE_p_real_pcre re, int match_count, string data, string field_data, string substituted, SWIGTYPE_p_switch_size_t len, SWIGTYPE_p_int ovector)
 {
     freeswitchPINVOKE.switch_perform_substitution(SWIGTYPE_p_real_pcre.getCPtr(re), match_count, data, field_data, substituted, SWIGTYPE_p_switch_size_t.getCPtr(len), SWIGTYPE_p_int.getCPtr(ovector));
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #5
0
ファイル: swig.cs プロジェクト: joshrivers/FreeSWITCH.Managed
 public static int switch_core_session_ctl(switch_session_ctl_t cmd, SWIGTYPE_p_int val) {
   int ret = freeswitchPINVOKE.switch_core_session_ctl((int)cmd, SWIGTYPE_p_int.getCPtr(val));
   return ret;
 }
コード例 #6
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static switch_status_t switch_core_session_get_app_flags(string app, SWIGTYPE_p_int flags)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_get_app_flags(app, SWIGTYPE_p_int.getCPtr(flags));
     return ret;
 }
コード例 #7
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 internal static HandleRef getCPtr(SWIGTYPE_p_int obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #8
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static void switch_split_date(string exp, SWIGTYPE_p_int year, SWIGTYPE_p_int month, SWIGTYPE_p_int day)
 {
     freeswitchPINVOKE.switch_split_date(exp, SWIGTYPE_p_int.getCPtr(year), SWIGTYPE_p_int.getCPtr(month), SWIGTYPE_p_int.getCPtr(day));
 }
コード例 #9
0
 public static void switch_close_extra_files(SWIGTYPE_p_int keep, int keep_ttl) {
   freeswitchPINVOKE.switch_close_extra_files(SWIGTYPE_p_int.getCPtr(keep), keep_ttl);
 }
コード例 #10
0
 public static int switch_xml_std_datetime_check(switch_xml xcond, SWIGTYPE_p_int offset) {
   int ret = freeswitchPINVOKE.switch_xml_std_datetime_check(switch_xml.getCPtr(xcond), SWIGTYPE_p_int.getCPtr(offset));
   return ret;
 }
コード例 #11
0
 public static void switch_capture_regex(SWIGTYPE_p_real_pcre re, int match_count, string field_data, SWIGTYPE_p_int ovector, string var, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void callback, SWIGTYPE_p_void user_data) {
   freeswitchPINVOKE.switch_capture_regex(SWIGTYPE_p_real_pcre.getCPtr(re), match_count, field_data, SWIGTYPE_p_int.getCPtr(ovector), var, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void.getCPtr(callback), SWIGTYPE_p_void.getCPtr(user_data));
 }
コード例 #12
0
ファイル: swig.cs プロジェクト: netconstructor/freeswitch
 public static int switch_core_ssl_count(SWIGTYPE_p_int val) {
   int ret = freeswitchPINVOKE.switch_core_ssl_count(SWIGTYPE_p_int.getCPtr(val));
   return ret;
 }
コード例 #13
0
ファイル: swig.2010.cs プロジェクト: rockxsj/FreeSWITCH
 public static void switch_core_screen_size(SWIGTYPE_p_int x, SWIGTYPE_p_int y) {
   freeswitchPINVOKE.switch_core_screen_size(SWIGTYPE_p_int.getCPtr(x), SWIGTYPE_p_int.getCPtr(y));
 }
コード例 #14
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static switch_status_t switch_regex_match_partial(string target, string expression, SWIGTYPE_p_int partial_match)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_regex_match_partial(target, expression, SWIGTYPE_p_int.getCPtr(partial_match));
     return ret;
 }
コード例 #15
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static int switch_core_db_get_table(SWIGTYPE_p_sqlite3 db, string sql, SWIGTYPE_p_p_p_char resultp, SWIGTYPE_p_int nrow, SWIGTYPE_p_int ncolumn, ref string errmsg)
 {
     int ret = freeswitchPINVOKE.switch_core_db_get_table(SWIGTYPE_p_sqlite3.getCPtr(db), sql, SWIGTYPE_p_p_p_char.getCPtr(resultp), SWIGTYPE_p_int.getCPtr(nrow), SWIGTYPE_p_int.getCPtr(ncolumn), ref errmsg);
     return ret;
 }
コード例 #16
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static int switch_regex_perform(string field, string expression, SWIGTYPE_p_p_real_pcre new_re, SWIGTYPE_p_int ovector, uint olen)
 {
     int ret = freeswitchPINVOKE.switch_regex_perform(field, expression, SWIGTYPE_p_p_real_pcre.getCPtr(new_re), SWIGTYPE_p_int.getCPtr(ovector), olen);
     return ret;
 }
コード例 #17
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static switch_status_t switch_core_session_execute_application_get_flags(SWIGTYPE_p_switch_core_session session, string app, string arg, SWIGTYPE_p_int flags)
 {
     switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_execute_application_get_flags(SWIGTYPE_p_switch_core_session.getCPtr(session), app, arg, SWIGTYPE_p_int.getCPtr(flags));
     return ret;
 }
コード例 #18
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static void switch_split_time(string exp, SWIGTYPE_p_int hour, SWIGTYPE_p_int min, SWIGTYPE_p_int sec)
 {
     freeswitchPINVOKE.switch_split_time(exp, SWIGTYPE_p_int.getCPtr(hour), SWIGTYPE_p_int.getCPtr(min), SWIGTYPE_p_int.getCPtr(sec));
 }
コード例 #19
0
ファイル: swig.cs プロジェクト: skyeyester/freeswitch
 public string read(SWIGTYPE_p_int len) {
   string ret = freeswitchPINVOKE.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len));
   return ret;
 }