OmniEvents
getopt.h
Go to the documentation of this file.
1
// -*- Mode: C++; -*-
2
// Package : omniEvents
3
// getopt.h Created : 1/4/98
4
// Author : Paul Nader (pwn)
5
//
6
// Copyright (C) 1998 Paul Nader.
7
//
8
// This file is part of the omniEvents application.
9
//
10
// omniEvents is free software; you can redistribute it and/or
11
// modify it under the terms of the GNU Lesser General Public
12
// License as published by the Free Software Foundation; either
13
// version 2.1 of the License, or (at your option) any later version.
14
//
15
// omniEvents is distributed in the hope that it will be useful,
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
// Lesser General Public License for more details.
19
//
20
// You should have received a copy of the GNU Lesser General Public
21
// License along with this library; if not, write to the Free Software
22
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
//
24
// Description:
25
//
26
27
/*
28
$Log: getopt.h,v $
29
Revision 1.2 2004/07/15 14:34:31 alextingle
30
Global variables are now declared extern "C".
31
32
Revision 1.1 2003/12/21 16:19:49 alextingle
33
Moved into 'src' directory as part of the change to POA implementation.
34
35
Revision 1.2 2003/11/03 22:36:48 alextingle
36
Updated License to GNU Lesser General Public v2.1
37
38
Revision 1.1.1.1 2002/09/25 19:00:32 shamus13
39
Import of OmniEvents source tree from release 2.1.1
40
41
Revision 1.4 2000/09/24 07:17:12 naderp
42
Fixed file comment.
43
44
Revision 1.3 1999/04/23 16:04:53 naderp
45
*** empty log message ***
46
47
* Revision 1.2 99/04/23 12:11:20 12:11:20 naderp (Paul Nader)
48
* *** empty log message ***
49
*
50
* Revision 1.1 99/04/23 09:36:25 09:36:25 naderp (Paul Nader)
51
* Initial revision
52
*
53
*/
54
55
#ifndef __GETOPT_H
56
#define __GETOPT_H
57
58
extern
"C"
59
{
60
extern
int
optind
;
// Index: welches Argument ist das naechste
61
extern
char
*
optarg
;
// Zeiger auf das Argument der akt. Option
62
extern
int
opterr
;
// erlaubt Fehlermeldungen
63
}
64
65
int
getopt
(
int
argc,
char
*argv[],
const
char
*optionS);
66
67
#endif
/* __GETOPT_H */
optind
int optind
Definition:
getopt.cc:82
optarg
char * optarg
Definition:
getopt.cc:83
opterr
int opterr
Definition:
getopt.cc:84
getopt
int getopt(int argc, char *argv[], const char *optionS)
Definition:
getopt.cc:88
src
getopt.h
Generated by
1.9.1