summaryrefslogtreecommitdiffstats
path: root/include/xtables/internal.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-02-01 22:33:37 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-01 22:33:37 +0100
commit212092173b63be8532d95241bbd86db96e110220 (patch)
treec57b51123dff0917902b89070d007145d453c26c /include/xtables/internal.h
parentc6132022905b10ac70223e8116f3903ea0039e75 (diff)
libxtables: prefix names and order #3
This change affects: find_{match,target} -> xtables_find_{match,target} enum xt_tryload -> enum xtables_tryload loose flags like DONT_LOAD -> XTF_DONT_LOAD Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/xtables/internal.h')
-rw-r--r--include/xtables/internal.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/xtables/internal.h b/include/xtables/internal.h
index 62fe2edb..60375cd1 100644
--- a/include/xtables/internal.h
+++ b/include/xtables/internal.h
@@ -26,34 +26,11 @@ struct afinfo {
int so_rev_target;
};
-enum xt_tryload {
- DONT_LOAD,
- DURING_LOAD,
- TRY_LOAD,
- LOAD_MUST_SUCCEED
-};
-
-struct xtables_rule_match {
- struct xtables_rule_match *next;
- struct xtables_match *match;
- /* Multiple matches of the same type: the ones before
- the current one are completed from parsing point of view */
- unsigned int completed;
-};
-
extern char *lib_dir;
/* This is decleared in ip[6]tables.c */
extern struct afinfo afinfo;
-/* Keeping track of external matches and targets: linked lists. */
-extern struct xtables_match *xtables_matches;
-extern struct xtables_target *xtables_targets;
-
-extern struct xtables_match *find_match(const char *name, enum xt_tryload,
- struct xtables_rule_match **match);
-extern struct xtables_target *find_target(const char *name, enum xt_tryload);
-
extern void _init(void);
#endif /* _XTABLES_INTERNAL_H */