fixed pkg-config rule
[k8jam.git] / src / option.h
blobf8a5d71146011d30674c75110ec46243b2b48df8
1 /*
2 * Copyright 1993, 1995 Christopher Seiwald.
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
6 /*
7 * option.h - command line option processing
9 * {o >o
10 * \ -) "Command line option."
12 * 11/04/02 (seiwald) - const-ing for string literals
14 #ifndef JAMH_OPTION_H
15 #define JAMH_OPTION_H
18 typedef struct option {
19 char flag; /* filled in by getoption() */
20 const char *val; /* set to random address if true */
21 } option;
24 #define N_OPTS (256)
25 #define N_TARGETS (256)
27 extern int getoptions (int argc, char **argv, const char *opts, option *optv, char **targets);
28 extern const char *getoptval (option *optv, char opt, int subopt) JAMFA_PURE;
31 #endif