Working a bit on CLIG, Makefiles, etc.
[mx3r.git] / cmdline.h
blobc08ecd3ad53fcfa187b0179ce79df7a94d965bc8
1 #ifndef __cmdline__
2 #define __cmdline__
3 /*****
4 command line parser interface -- generated by clig
5 (http://wsd.iitb.fhg.de/~geg/clighome/)
7 The command line parser `clig':
8 (C) 1995-2004 Harald Kirsch (clig@geggus.net)
9 *****/
11 typedef struct s_Cmdline {
12 /***** --blr: <base-filename> <local-filename> <remote-filename>
13 Try a full (base->local to remote) merge */
14 char do_blrmergeP;
15 char* *do_blrmerge;
16 int do_blrmergeC;
17 /***** --hashcmp: <line1> <line2> ... <lineN>
18 Do a hash compare between 4 or more lines. */
19 char do_hashcmpP;
20 char* *do_hashcmp;
21 int do_hashcmpC;
22 /***** --help: show usage information */
23 char show_helpP;
24 /***** --version: show program version */
25 char show_versionP;
26 /***** uninterpreted command line parameters */
27 int argc;
28 /*@null*/char **argv;
29 /***** the whole command line concatenated */
30 char *tool;
31 } Cmdline;
34 extern char *Program;
35 extern void usage(void);
36 extern /*@shared*/Cmdline *parseCmdline(int argc, char **argv);
38 #endif