Line | |
---|
1 | /* |
---|
2 | * Copyright 1993, 1995 Christopher Seiwald. |
---|
3 | * |
---|
4 | * This file is part of Jam - see jam.c for Copyright information. |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * option.h - command line option processing |
---|
9 | * |
---|
10 | * {o >o |
---|
11 | * \ -) "Command line option." |
---|
12 | */ |
---|
13 | |
---|
14 | typedef struct option |
---|
15 | { |
---|
16 | char flag; /* filled in by getoption() */ |
---|
17 | char *val; /* set to random address if true */ |
---|
18 | } option; |
---|
19 | |
---|
20 | # define N_OPTS 256 |
---|
21 | |
---|
22 | int getoptions( int argc, char **argv, char *opts, option *optv ); |
---|
23 | char * getoptval( option *optv, char opt, int subopt ); |
---|
Note: See
TracBrowser
for help on using the repository browser.