use -Wl on -no-undefined as it is a linker option:
[oweals/gnunet.git] / src / include / gnunet_hello_lib.h
index 14669d417557f82129598b861efa7aa096c5212c..694dfe0668cb4b206bd05415c6f10097abb14cd3 100644 (file)
@@ -121,6 +121,7 @@ struct GNUNET_HELLO_Address
  * @param transport_name plugin name
  * @param address binary address
  * @param address_length number of bytes in 'address'
+ * @param local_info additional local information for the address
  * @return the address struct
  */
 struct GNUNET_HELLO_Address *
@@ -160,6 +161,17 @@ GNUNET_HELLO_address_cmp (const struct GNUNET_HELLO_Address *a1,
 size_t
 GNUNET_HELLO_address_get_size (const struct GNUNET_HELLO_Address *address);
 
+/**
+ * Check if an address has a local option set
+ *
+ * @param address the address to check
+ * @param option the respective option to check for
+ * @return GNUNET_YES or GNUNET_NO
+ */
+int
+GNUNET_HELLO_address_check_option (const struct GNUNET_HELLO_Address * address,
+    enum GNUNET_HELLO_AddressInfo option);
+
 
 /**
  * Free an address.