aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorlandley <landley@driftwood>2006-10-18 18:38:16 -0400
committerlandley <landley@driftwood>2006-10-18 18:38:16 -0400
commitcd9dfc3b7b73715840b63180e2e4bfdb6e7ca9a4 (patch)
treea4e4932ecc15140ed48761ca8d32d5a0edc53bf7 /lib/lib.h
parent4f344e356d2c36c4b1df46917eaef25f82ca79a9 (diff)
downloadtoybox-cd9dfc3b7b73715840b63180e2e4bfdb6e7ca9a4.tar.gz
Next drop of toysh, plus more infratructure.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index fa24c8d5..157db343 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -1,13 +1,20 @@
/* vi: set ts=4 :*/
+// functions.c
void error_exit(char *msg, ...);
void strlcpy(char *dest, char *src, size_t size);
void *xmalloc(size_t size);
+void *xzalloc(size_t size);
+void xrealloc(void **ptr, size_t size);
void *xstrndup(char *s, size_t n);
void *xexec(char **argv);
int xopen(char *path, int flags, int mode);
FILE *xfopen(char *path, char *mode);
+// llist.c
+void llist_free(void *list, void (*freeit)(void *data));
+
+// getmountlist.c
struct mtab_list {
struct mtab_list *next;
char *dir;