diff th_args.h @ 81:69aed051f84d

Synced th-libs.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Apr 2009 22:02:37 +0300
parents 728243125263
children 59992d930e70
line wrap: on
line diff
--- a/th_args.h	Fri Jan 30 01:54:51 2009 +0200
+++ b/th_args.h	Mon Apr 20 22:02:37 2009 +0300
@@ -18,31 +18,31 @@
 
 /* Option flags
  */
-#define OPT_NONE	(0)	/* Simple option with no arguments */
+#define OPT_NONE    (0)    /* Simple option with no arguments */
 
-#define OPT_ARGREQ	(1)	/* Option's argument is required */
-#define	OPT_ARGOPT	(3)	/* Option's argument is optional */
-#define OPT_ARGMASK	(3)	/* Mask for option argument flags */
+#define OPT_ARGREQ    (1)    /* Option's argument is required */
+#define    OPT_ARGOPT    (3)    /* Option's argument is optional */
+#define OPT_ARGMASK    (3)    /* Mask for option argument flags */
 
-#define OPT_REQUIRED	(4)	/* This option is required to be given */
+#define OPT_REQUIRED    (4)    /* This option is required to be given */
 
 
 typedef struct {
-	int optID;
-	char optShort;
-	char *optLong;
-	char *optDesc;
-	int optFlags;
+    int optID;
+    char optShort;
+    char *optLong;
+    char *optDesc;
+    int optFlags;
 } optarg_t;
 
 
 BOOL th_args_process(int argc, char *argv[],
-	optarg_t argList[], int argListN,
-	BOOL (*handleOpt)(int, char *, char *),
-	BOOL (*handleFile)(char *), BOOL);
+    optarg_t argList[], int argListN,
+    BOOL (*handleOpt)(int, char *, char *),
+    BOOL (*handleFile)(char *), BOOL);
 
 void th_args_help(FILE *, optarg_t optList[], int optListN,
-	char *, char *);
+    char *, char *);
 
 #ifdef __cplusplus
 }