aboutsummaryrefslogtreecommitdiffstats
path: root/zeroconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zeroconf.h')
-rw-r--r--zeroconf.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/zeroconf.h b/zeroconf.h
new file mode 100644
index 0000000..d8cd4c5
--- /dev/null
+++ b/zeroconf.h
@@ -0,0 +1,19 @@
+#ifndef _ZEROCONF_H_
+#define _ZEROCONF_H_
+
+int getZeroconfHostPort(CPhidgetRemoteHandle networkInfo);
+int cancelPendingZeroconfLookups(CPhidgetRemoteHandle networkInfo);
+int refreshZeroconfSBC(CPhidgetSBCHandle sbc);
+int refreshZeroconfPhidget(CPhidgetHandle phid);
+int InitializeZeroconf();
+int UninitializeZeroconf();
+
+/* Internal version of .local lookups for SBC */
+#ifdef ZEROCONF_LOOKUP
+struct hostent *
+mdns_gethostbyname (const char *name);
+struct hostent *
+mdns_gethostbyname2 (const char *name, int af);
+#endif
+
+#endif