summaryrefslogtreecommitdiffstats
path: root/tcpd/argparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcpd/argparse.h')
-rw-r--r--tcpd/argparse.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/tcpd/argparse.h b/tcpd/argparse.h
new file mode 100644
index 0000000..6727108
--- /dev/null
+++ b/tcpd/argparse.h
@@ -0,0 +1,20 @@
+#ifndef argparse_h
+#define argparse_h
+
+/*
+** Copyright 2000 Double Precision, Inc.
+** See COPYING for distribution information.
+*/
+
+
+#include "config.h"
+
+struct args {
+ const char *name;
+ const char **valuep;
+ void (*funcp)(const char *);
+ } ;
+
+int argparse(int argc, char **, struct args *);
+
+#endif