Jambase unix: default compilers changed to gcc and g++; OPTIM is empty
[k8jam.git] / option.h
blob60d62c983512bf8172b4ef14e261ef1e0af7bcda
1 /*
2 * Copyright 1993, 1995 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
7 /*
8 * option.h - command line option processing
10 * {o >o
11 * \ -) "Command line option."
13 * 11/04/02 (seiwald) - const-ing for string literals
16 typedef struct option
18 char flag; /* filled in by getoption() */
19 const char *val; /* set to random address if true */
20 } option;
22 # define N_OPTS 256
23 # define N_TARGETS 256
25 int getoptions( int argc, char **argv, const char *opts, option *optv, char** targets );
26 const char * getoptval( option *optv, char opt, int subopt );