diff lib/lib.h @ 25:eb46bb5626cb

New option parsing infrastructure (doesn't use getopt). Hook it up to existing applets. Still a bit buggy, but bits of it work.
author Rob Landley <rob@landley.net>
date Sun, 19 Nov 2006 02:49:22 -0500
parents 3981c96f9285
children f2c7f0799ebe
line wrap: on
line diff
--- a/lib/lib.h	Thu Nov 09 19:19:37 2006 -0500
+++ b/lib/lib.h	Sun Nov 19 02:49:22 2006 -0500
@@ -13,6 +13,14 @@
 	char str[0];
 };
 
+struct arg_list {
+	struct arg_list *next;
+	char *arg;
+};
+
+// args.c
+void get_optflags(void);
+
 // functions.c
 void verror_msg(char *msg, int err, va_list va);
 void error_msg(char *msg, ...);