Inheritance: IDisposable
コード例 #1
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static switch_bool_t switch_testv6_subnet(ip_t _ip, ip_t _net, ip_t _mask)
 {
     switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_testv6_subnet(ip_t.getCPtr(_ip), ip_t.getCPtr(_net), ip_t.getCPtr(_mask));
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #2
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static switch_bool_t switch_network_list_validate_ip6_token(SWIGTYPE_p_switch_network_list list, ip_t ip, ref string token)
 {
     switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_network_list_validate_ip6_token(SWIGTYPE_p_switch_network_list.getCPtr(list), ip_t.getCPtr(ip), ref token);
     if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #3
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 public static int switch_parse_cidr(string arg0, ip_t ip, ip_t mask, SWIGTYPE_p_unsigned_long bitp)
 {
     int ret = freeswitchPINVOKE.switch_parse_cidr(arg0, ip_t.getCPtr(ip), ip_t.getCPtr(mask), SWIGTYPE_p_unsigned_long.getCPtr(bitp));
     return ret;
 }
コード例 #4
0
ファイル: swig.2010.cs プロジェクト: newfront/FreeSWITCH
 internal static HandleRef getCPtr(ip_t obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }