Moved host_t and host_resolver_t to a new networking subfolder
[strongswan.git] / src / libhydra / attributes / attribute_provider.h
index 7d0acdb..82d0ee3 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef ATTRIBUTE_PROVIDER_H_
 #define ATTRIBUTE_PROVIDER_H_
 
-#include <utils/host.h>
+#include <networking/host.h>
 #include <utils/identification.h>
 #include <utils/linked_list.h>
 
@@ -46,13 +46,14 @@ struct attribute_provider_t {
        /**
         * Release a previously acquired address.
         *
-        * @param pool                  name of the pool this address was acquired from
+        * @param pools                 list of pool names (char*) to release to
         * @param address               address to release
         * @param id                    peer ID
         * @return                              TRUE if the address has been released by the provider
         */
        bool (*release_address)(attribute_provider_t *this,
-                                                       char *pool, host_t *address, identification_t *id);
+                                                       linked_list_t *pools, host_t *address,
+                                                       identification_t *id);
 
        /**
         * Create an enumerator over attributes to hand out to a peer.