summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-05-26 15:54:49 +0000
committergandalf <gandalf>2004-05-26 15:54:49 +0000
commit44f3f9a4ea6c8c7c2caa8c8b883a93cc8210d43b (patch)
treea3a34c099e170849facffa83f4c08561619fb7a7 /include
parenta32c699b6ea3a6d44406062e4b076071461ed2f2 (diff)
Add versions of string_to_number() for use in 32bit userspace with 64bit kernel.
Diffstat (limited to 'include')
-rw-r--r--include/iptables_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/iptables_common.h b/include/iptables_common.h
index 25f23c3..ca65594 100644
--- a/include/iptables_common.h
+++ b/include/iptables_common.h
@@ -14,6 +14,14 @@ extern int string_to_number(const char *,
unsigned int,
unsigned int,
unsigned int *);
+extern int string_to_number_l(const char *,
+ unsigned long int,
+ unsigned long int,
+ unsigned long *);
+extern int string_to_number_ll(const char *,
+ unsigned long long int,
+ unsigned long long int,
+ unsigned long long *);
extern int iptables_insmod(const char *modname, const char *modprobe);
void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
format(printf,2,3)));