diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-04-14 12:56:48 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-04-14 12:56:48 +0100 |
commit | 0b624384cd52be20e61284551d832b499d7b7707 (patch) | |
tree | 6f95a4bbef47abc9720b96c0722e8f632aef228a /zeroconf.h | |
download | libphidget21-upstream/2.1.8.20120216.tar.gz |
Imported Upstream version 2.1.8.20120216upstream/2.1.8.20120216
Diffstat (limited to '')
-rw-r--r-- | zeroconf.h | 19 |
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
|