]> git.sur5r.net Git - openldap/blob - include/getopt-compat.h
Add OpenLDAP RCS Id
[openldap] / include / getopt-compat.h
1 /* $OpenLDAP$ */
2 /*
3  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11 /*
12  * getopt(3) declarations
13  */
14 #ifndef _GETOPT_COMPAT_H
15 #define _GETOPT_COMPAT_H
16
17 #include <ldap_cdefs.h>
18
19 LDAP_BEGIN_DECL
20
21 extern char *optarg;
22 extern int optind, opterr, optopt;
23
24 LDAP_F( int )
25 getopt LDAP_P((
26         int,
27         char * const [],
28         const char *));
29
30 LDAP_END_DECL
31
32 #endif /* _GETOPT_COMPAT_H */