aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/name.h
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-04-27 09:42:17 +0000
committerGerrit Code Review <gerrit@fd.io>2020-04-27 09:42:17 +0000
commite94a00b51ce795a8629c33edefd3fcd4b4af05ef (patch)
treeda6b4eb58ec6cb6042b21b05fa194fad9b5d6b8e /hicn-light/src/hicn/core/name.h
parent0ea5735b98f38beacf92dfdca74b7a6d5b3f7182 (diff)
parent15ad172a847fa667c57a4594ef4158405db9a984 (diff)
Merge "[HICN-554] hicn-light refactoring" into hicn-light-ng
Diffstat (limited to 'hicn-light/src/hicn/core/name.h')
-rw-r--r--hicn-light/src/hicn/core/name.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/hicn-light/src/hicn/core/name.h b/hicn-light/src/hicn/core/name.h
index db9438150..f3b3f2a02 100644
--- a/hicn-light/src/hicn/core/name.h
+++ b/hicn-light/src/hicn/core/name.h
@@ -21,9 +21,9 @@
#include <hicn/core/messagePacketType.h>
#include <hicn/core/nameBitvector.h>
-#include <hicn/utils/address.h>
+//#include <hicn/utils/address.h>
-#include <hicn/utils/commands.h>
+//#include <hicn/utils/commands.h>
struct name;
typedef struct name Name;
@@ -93,8 +93,7 @@ void name_setLen(Name *name, uint8_t len);
* Creates a name from a Address
*
*/
-Name *name_CreateFromAddress(address_type addressType, ip_address_t addr,
- uint8_t len);
+Name *name_CreateFromAddress(int family, ip_address_t addr, uint8_t len);
#ifdef WITH_POLICY
uint32_t name_GetSuffix(const Name * name);