annotate liboctave/oct-getopt.h @ 5249:5c2f58301790 ss-2-9-1

[project @ 2005-03-27 12:06:59 by jwe]
author jwe
date Sun, 27 Mar 2005 12:06:59 +0000
parents 957d7d6ab0e0
children 4c8a2e4e0717
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3505
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
1 /*
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
2
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
3 Copyright (C) 2000 John W. Eaton
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
4
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
5 This file is part of Octave.
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
6
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
7 Octave is free software; you can redistribute it and/or modify it
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
9 Free Software Foundation; either version 2, or (at your option) any
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
10 later version.
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
11
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
12 Octave is distributed in the hope that it will be useful, but WITHOUT
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
15 for more details.
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
16
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
18 along with Octave; see the file COPYING. If not, write to the Free
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
20
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
21 */
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
22
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
23 #if !defined (octave_getopt_h)
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
24 #define octave_getopt_h 1
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
25
3519
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
26 #ifdef __cplusplus
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
27 extern "C"
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
28 {
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
29 #endif
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
30
3505
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
31 extern int
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
32 octave_getopt (int, char *const *, const char *);
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
33
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
34 extern int
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
35 octave_getopt_long (int, char *const *, const char *,
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
36 const struct option *, int *);
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
37
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
38 extern char *optarg;
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
39
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
40 extern int optind;
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
41
3519
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
42 #ifdef __cplusplus
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
43 }
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
44 #endif
957d7d6ab0e0 [project @ 2000-02-02 06:00:09 by jwe]
jwe
parents: 3505
diff changeset
45
3505
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
46 #endif
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
47
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
48 /*
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
49 ;;; Local Variables: ***
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
50 ;;; mode: C++ ***
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
51 ;;; End: ***
5a2c5361dbf1 [project @ 2000-02-01 11:04:15 by jwe]
jwe
parents:
diff changeset
52 */