Line | |
---|
1 | /* $Id: agetopt.h,v 1.2 1999-03-23 18:24:00 danw Exp $ */ |
---|
2 | |
---|
3 | /* Copyright 1998 by the Massachusetts Institute of Technology. |
---|
4 | * |
---|
5 | * Permission to use, copy, modify, and distribute this |
---|
6 | * software and its documentation for any purpose and without |
---|
7 | * fee is hereby granted, provided that the above copyright |
---|
8 | * notice appear in all copies and that both that copyright |
---|
9 | * notice and this permission notice appear in supporting |
---|
10 | * documentation, and that the name of M.I.T. not be used in |
---|
11 | * advertising or publicity pertaining to distribution of the |
---|
12 | * software without specific, written prior permission. |
---|
13 | * M.I.T. makes no representations about the suitability of |
---|
14 | * this software for any purpose. It is provided "as is" |
---|
15 | * without express or implied warranty. |
---|
16 | */ |
---|
17 | |
---|
18 | struct agetopt_option { |
---|
19 | const char *longname; |
---|
20 | char shortname; |
---|
21 | int arg; |
---|
22 | }; |
---|
23 | |
---|
24 | int attach_getopt(int argc, char **argv, struct agetopt_option *options); |
---|
25 | |
---|
26 | extern int optind; |
---|
27 | extern char *optarg; |
---|
Note: See
TracBrowser
for help on using the repository browser.