diff th_args.h @ 380:ac10155d2b4a

Rename th_optarg_t to t_optarg. API break.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 01 Mar 2016 17:21:22 +0200
parents f4e182720870
children 4e7e0a74e73e
line wrap: on
line diff
--- a/th_args.h	Tue Mar 01 17:18:58 2016 +0200
+++ b/th_args.h	Tue Mar 01 17:21:22 2016 +0200
@@ -36,15 +36,15 @@
     char *o_long;
     char *desc;
     int flags;
-} th_optarg_t;
+} th_optarg;
 
 
 BOOL th_args_process(int argc, char *argv[],
-     const th_optarg_t *opts, const int nopts,
+     const th_optarg *opts, const int nopts,
      BOOL (*handle_option)(int id, char *, char *),
      BOOL (*handle_other)(char *), const int flags);
 
-void th_args_help(FILE *, const th_optarg_t *opts,
+void th_args_help(FILE *, const th_optarg *opts,
      const int nopts, const int flags);
 
 #ifdef __cplusplus