summaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 5ff3975..4423525 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -190,6 +190,13 @@ extern char *xstrdup (const char *s);
#endif
extern char *xstrndup (const char *s, int n);
+struct suffix_mult {
+ char *suffix;
+ int mult;
+};
+
+extern unsigned long parse_number(const char *numstr, struct suffix_mult *suffixes);
+
/* These parse entries in /etc/passwd and /etc/group. This is desirable
* for BusyBox since we want to avoid using the glibc NSS stuff, which