xref: /onnv-gate/usr/src/lib/libldap5/include/ldap/solaris-priv.h (revision 0:68f95e015346)
1*0Sstevel@tonic-gate /*
2*0Sstevel@tonic-gate  * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
3*0Sstevel@tonic-gate  * Use is subject to license terms.
4*0Sstevel@tonic-gate  */
5*0Sstevel@tonic-gate 
6*0Sstevel@tonic-gate #ifndef _SOLARISPRIV_H
7*0Sstevel@tonic-gate #define	_SOLARISPRIV_H
8*0Sstevel@tonic-gate 
9*0Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
10*0Sstevel@tonic-gate 
11*0Sstevel@tonic-gate /*
12*0Sstevel@tonic-gate  * solaris-priv.h - items not exposed to outside but used by solaris clients
13*0Sstevel@tonic-gate  * of ldap
14*0Sstevel@tonic-gate  */
15*0Sstevel@tonic-gate 
16*0Sstevel@tonic-gate #ifdef __cplusplus
17*0Sstevel@tonic-gate extern "C" {
18*0Sstevel@tonic-gate #endif
19*0Sstevel@tonic-gate 
20*0Sstevel@tonic-gate /*
21*0Sstevel@tonic-gate  * Well-behaved extensions private to solaris OS  will use option values
22*0Sstevel@tonic-gate  * between 0x3000 and 0x3FFF inclusive.
23*0Sstevel@tonic-gate  */
24*0Sstevel@tonic-gate #define	LDAP_OPT_SOLARIS_EXTENSION_BASE 0x3000  /* to 0x3FFF inclusive */
25*0Sstevel@tonic-gate 
26*0Sstevel@tonic-gate /*
27*0Sstevel@tonic-gate  * Option to install "SKIP a data base" dns routines
28*0Sstevel@tonic-gate  */
29*0Sstevel@tonic-gate #define	LDAP_X_OPT_DNS_SKIPDB	(LDAP_OPT_SOLARIS_EXTENSION_BASE + 0x0F01)
30*0Sstevel@tonic-gate 
31*0Sstevel@tonic-gate 
32*0Sstevel@tonic-gate #ifdef __cplusplus
33*0Sstevel@tonic-gate }
34*0Sstevel@tonic-gate #endif
35*0Sstevel@tonic-gate 
36*0Sstevel@tonic-gate #endif /* _SOLARISPRIV_H */
37