Lines Matching refs:IntPtr
30 internal delegate void ServiceResolverCallback (IntPtr resolver, int iface, Protocol proto, in ServiceResolverCallback()
31 ResolverEvent revent, IntPtr name, IntPtr type, in ServiceResolverCallback()
32 IntPtr domain, IntPtr host, IntPtr address, in ServiceResolverCallback()
33 … UInt16 port, IntPtr txt, LookupResultFlags flags, in ServiceResolverCallback()
34 IntPtr userdata); in ServiceResolverCallback()
38 private IntPtr handle;
54 … private static extern IntPtr avahi_service_resolver_new (IntPtr client, int iface, Protocol proto, in avahi_service_resolver_new()
58 IntPtr userdata); in avahi_service_resolver_new()
61 private static extern IntPtr avahi_string_list_get_next (IntPtr list); in avahi_string_list_get_next()
64 private static extern IntPtr avahi_string_list_get_text (IntPtr list); in avahi_string_list_get_text()
67 private static extern int avahi_string_list_get_size (IntPtr list); in avahi_string_list_get_size()
70 private static extern void avahi_service_resolver_free (IntPtr handle); in avahi_service_resolver_free()
143 if (client.Handle == IntPtr.Zero || handle != IntPtr.Zero || in Start()
150 … Utility.StringToBytes (domain), aproto, flags, cb, IntPtr.Zero); in Start()
152 if (handle == IntPtr.Zero) in Start()
159 if (client.Handle != IntPtr.Zero && handle != IntPtr.Zero && in Stop()
164 handle = IntPtr.Zero; in Stop()
169 private void OnServiceResolverCallback (IntPtr resolver, int iface, Protocol proto, in OnServiceResolverCallback()
170 ResolverEvent revent, IntPtr name, IntPtr type, in OnServiceResolverCallback()
171 IntPtr domain, IntPtr host, IntPtr address, in OnServiceResolverCallback()
172 UInt16 port, IntPtr txt, LookupResultFlags flags, in OnServiceResolverCallback()
173 IntPtr userdata) in OnServiceResolverCallback()
189 for (IntPtr l = txt; l != IntPtr.Zero; l = avahi_string_list_get_next (l)) { in OnServiceResolverCallback()
190 IntPtr buf = avahi_string_list_get_text (l); in OnServiceResolverCallback()