diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2020-04-27 09:42:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-04-27 09:42:17 +0000 |
commit | e94a00b51ce795a8629c33edefd3fcd4b4af05ef (patch) | |
tree | da6b4eb58ec6cb6042b21b05fa194fad9b5d6b8e /hicn-light/src/hicn/utils/interface.h | |
parent | 0ea5735b98f38beacf92dfdca74b7a6d5b3f7182 (diff) | |
parent | 15ad172a847fa667c57a4594ef4158405db9a984 (diff) |
Merge "[HICN-554] hicn-light refactoring" into hicn-light-ng
Diffstat (limited to 'hicn-light/src/hicn/utils/interface.h')
-rw-r--r-- | hicn-light/src/hicn/utils/interface.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hicn-light/src/hicn/utils/interface.h b/hicn-light/src/hicn/utils/interface.h index fd91edb1d..ccaf5f2e8 100644 --- a/hicn-light/src/hicn/utils/interface.h +++ b/hicn-light/src/hicn/utils/interface.h @@ -22,8 +22,7 @@ #ifndef interface_h #define interface_h -#include <hicn/utils/address.h> -#include <hicn/utils/addressList.h> +#include <hicn/core/address.h> struct interface; typedef struct interface Interface; @@ -59,7 +58,7 @@ void interfaceDestroy(Interface **interfacePtr); * <#example#> * @endcode */ -void interfaceAddAddress(Interface *iface, Address *address); +void interfaceAddAddress(Interface *iface, address_t *address); /** * Retrieves a list of interface addresses @@ -74,7 +73,7 @@ void interfaceAddAddress(Interface *iface, Address *address); * <#example#> * @endcode */ -const AddressList *interfaceGetAddresses(const Interface *iface); +const address_t ** interfaceGetAddresses(const Interface *iface); /** * The interface index |