comparison th_args.h @ 49:598609fb49b0

Change how "config.h" is included, etc.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Oct 2011 15:40:54 +0300
parents 5f73c8cd333a
children 34d58b0f2d52
comparison
equal deleted inserted replaced
48:55e36ec05881 49:598609fb49b0
3 * Programmed and designed by Matti 'ccr' Hamalainen 3 * Programmed and designed by Matti 'ccr' Hamalainen
4 * (C) Copyright 2002-2008 Tecnic Software productions (TNSP) 4 * (C) Copyright 2002-2008 Tecnic Software productions (TNSP)
5 * 5 *
6 * Please read file 'COPYING' for information on license and distribution. 6 * Please read file 'COPYING' for information on license and distribution.
7 */ 7 */
8 #ifndef _TH_ARGS 8 #ifndef TH_ARGS
9 #define _TH_ARGS 9 #define TH_ARGS
10
11 #include "th_util.h"
12 #include <stdio.h>
10 13
11 #ifdef __cplusplus 14 #ifdef __cplusplus
12 extern "C" { 15 extern "C" {
13 #endif 16 #endif
14
15 #include <stdio.h>
16 #include "th_util.h"
17
18 17
19 /* Option flags 18 /* Option flags
20 */ 19 */
21 #define OPT_NONE (0) /* Simple option with no arguments */ 20 #define OPT_NONE (0) /* Simple option with no arguments */
22 #define OPT_ARGREQ (1) /* Option's argument is required */ 21 #define OPT_ARGREQ (1) /* Option's argument is required */
42 void th_args_help(FILE *, optarg_t optList[], int optListN); 41 void th_args_help(FILE *, optarg_t optList[], int optListN);
43 42
44 #ifdef __cplusplus 43 #ifdef __cplusplus
45 } 44 }
46 #endif 45 #endif
47 #endif /* _TH_ARGS */ 46 #endif /* TH_ARGS */