From 5f2922cfc0bbfbeb878f5c12e9fb3eb602ae5507 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 27 Jan 2009 18:43:01 +0100 Subject: libxtables: prefix/order - strtoui This commit also throws out the redundant string_to_number_*. Signed-off-by: Jan Engelhardt --- include/xtables.h.in | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'include') diff --git a/include/xtables.h.in b/include/xtables.h.in index 268c42e4..f372d334 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -175,21 +175,9 @@ extern struct xtables_target *xtables_find_target(const char *name, extern void xtables_register_match(struct xtables_match *me); extern void xtables_register_target(struct xtables_target *me); -extern int string_to_number_ll(const char *s, - unsigned long long min, - unsigned long long max, - unsigned long long *ret); -extern int string_to_number_l(const char *s, - unsigned long min, - unsigned long max, - unsigned long *ret); -extern int string_to_number(const char *s, - unsigned int min, - unsigned int max, - unsigned int *ret); -extern bool strtonuml(const char *, char **, unsigned long *, +extern bool xtables_strtoul(const char *, char **, unsigned long *, unsigned long, unsigned long); -extern bool strtonum(const char *, char **, unsigned int *, +extern bool xtables_strtoui(const char *, char **, unsigned int *, unsigned int, unsigned int); extern int service_to_port(const char *name, const char *proto); extern u_int16_t parse_port(const char *port, const char *proto); -- cgit v1.2.3