aboutsummaryrefslogtreecommitdiff
path: root/src/op/args.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-06-26 22:45:49 +0000
committerRoger Dingledine <arma@torproject.org>2002-06-26 22:45:49 +0000
commit9a928eeb1215f0d7c9b6d0bb9e4571d0a16ed79a (patch)
treefac560bf2dce8a8d2b82e296b71ff24f59ab1a7a /src/op/args.h
parent766a465a6043ac4e643c398feb14f708fd0d863f (diff)
downloadtor-9a928eeb1215f0d7c9b6d0bb9e4571d0a16ed79a.tar
tor-9a928eeb1215f0d7c9b6d0bb9e4571d0a16ed79a.tar.gz
Initial revision
svn:r2
Diffstat (limited to 'src/op/args.h')
-rw-r--r--src/op/args.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/op/args.h b/src/op/args.h
new file mode 100644
index 000000000..0d693efab
--- /dev/null
+++ b/src/op/args.h
@@ -0,0 +1,41 @@
+/**
+ * args.h
+ * Routines for processing command-line arguments.
+ *
+ * Matej Pfajfar <mp292@cam.ac.uk>
+ */
+
+/*
+ * Changes :
+ * $Log$
+ * Revision 1.1 2002/06/26 22:45:50 arma
+ * Initial revision
+ *
+ * Revision 1.4 2002/01/26 22:22:09 mp292
+ * Prevented duplicate definitions.
+ *
+ * Revision 1.3 2002/01/26 22:08:40 mp292
+ * Reviewed according to Secure-Programs-HOWTO.
+ *
+ * Revision 1.2 2001/12/14 11:26:23 badbytes
+ * Tested
+ *
+ * Revision 1.1 2001/12/13 15:15:10 badbytes
+ * Started coding the onion proxy.
+ *
+ */
+
+#ifndef __ARGS_H
+
+#define __ARGS_H
+
+#include <stdlib.h>
+#include <stdio.h>
+
+/* print help */
+void print_usage();
+
+/* get command-line arguments */
+int getargs(int argc,char *argv[], char *args, unsigned short *p, char **conf_filename, int *loglevel);
+
+#endif