Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

cmdopt.h

Go to the documentation of this file.
00001 #ifndef CMDOPT_H
00002 #define CMDOPT_H
00003 
00004 /* ==== HEADER cmdopt.h ==== */
00005 
00013 /* ANSI C, 4. Apr. 1995. Andras Aszodi */
00014 
00015 /* ---- STANDARD HEADERS ---- */
00016 
00017 #include <stdlib.h>
00018 #include <stdio.h>
00019 #include <string.h>
00020 #include <ctype.h>
00021 
00022 /* ---- PROTOTYPES ---- */
00023 
00024 #ifdef __cplusplus
00025 namespace RazorBack { extern "C" {
00026 #endif
00027 
00046 void parse_optstr(char *Cmdoptstr);
00047 
00059 int get_options(int argc, char *const *argv);
00060 
00071 int optval_bool(char Och);
00072 int optval_int(char Och, int *Val);
00073 int optval_dbl(char Och, double *Val);
00074 int optval_str(char Och, char **Val);
00075 
00089 int opt_defval(char Och, void *Val, const void *Defval);
00090 
00101 char *opt_helpstr(void);
00102 
00103 #ifdef __cplusplus
00104 } }
00105 #endif
00106 
00107 /* ==== END OF HEADER cmdopt.h ==== */
00108 
00109 #endif  /* CMDOPT_H */

Generated at Wed Aug 21 09:33:39 2002 for The Razorback C Library: Miscellaneous Utilities by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001