summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-02-27 23:16:09 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-02-28 00:33:02 +0100
commitfff9e69d84717a0d270733dafdea09706408d205 (patch)
tree374d5e67e43a9368a856afbf8400c8ce81dcf365 /include
parent7969b0d98447a0659c046f3016838add5588efbd (diff)
src: rename set_keytype_alloc() to set_datatype_alloc()
This function can be used either side of the map, so rename it to something generic. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/datatype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/datatype.h b/include/datatype.h
index 3ce3a888..b78d76f7 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -254,8 +254,8 @@ concat_subtype_lookup(uint32_t type, unsigned int n)
}
extern const struct datatype *
-set_keytype_alloc(const struct datatype *orig_dtype, unsigned int byteorder);
-extern void set_keytype_destroy(const struct datatype *dtype);
+set_datatype_alloc(const struct datatype *orig_dtype, unsigned int byteorder);
+extern void set_datatype_destroy(const struct datatype *dtype);
extern void time_print(uint64_t seconds);
extern struct error_record *time_parse(const struct location *loc,