diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-06-30 14:56:19 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-30 12:44:54 +0200 |
commit | 5de112c239ab97ebaba5a935d29504bff0586be7 (patch) | |
tree | fa0845522c9e37e8f77fd3a245ab58826f5625e0 /include/meta.h | |
parent | 27e4cf73880b7103bffb747cdce8f9eb10e03b39 (diff) |
include: Remove datatype_register().
Remove datatype_register() function and its calling __init functions.
Add arguments of datatype_register() function to datatype array.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/meta.h')
-rw-r--r-- | include/meta.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/meta.h b/include/meta.h index 55784609..47b16c4b 100644 --- a/include/meta.h +++ b/include/meta.h @@ -28,10 +28,15 @@ extern struct expr *meta_expr_alloc(const struct location *loc, struct stmt *meta_stmt_meta_iiftype(const struct location *loc, uint16_t type); -const struct datatype ifindex_type; - struct error_record *meta_key_parse(const struct location *loc, const char *name, unsigned int *value); +extern const struct datatype ifindex_type; +extern const struct datatype tchandle_type; +extern const struct datatype gid_type; +extern const struct datatype uid_type; +extern const struct datatype devgroup_type; +extern const struct datatype pkttype_type; + #endif /* NFTABLES_META_H */ |