comparison th_args.h @ 457:85fa3d333556

Actually, revert the boolean changes .. meh.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Jan 2018 23:09:29 +0200
parents 347bfd3e017e
children ea8c37f03e2c
comparison
equal deleted inserted replaced
456:1bf886fa9db5 457:85fa3d333556
41 char *desc; ///< Option description 41 char *desc; ///< Option description
42 int flags; ///< Flags (see OPT_*) 42 int flags; ///< Flags (see OPT_*)
43 } th_optarg; 43 } th_optarg;
44 44
45 45
46 bool th_args_process(int argc, char *argv[], 46 BOOL th_args_process(int argc, char *argv[],
47 const th_optarg *opts, const int nopts, 47 const th_optarg *opts, const int nopts,
48 bool (*handle_option)(int id, char *, char *), 48 BOOL (*handle_option)(int id, char *, char *),
49 bool (*handle_other)(char *), const int flags); 49 BOOL (*handle_other)(char *), const int flags);
50 50
51 void th_args_help(FILE *, const th_optarg *opts, 51 void th_args_help(FILE *, const th_optarg *opts,
52 const int nopts, const int flags); 52 const int nopts, const int flags);
53 53
54 #ifdef __cplusplus 54 #ifdef __cplusplus