xref: /netbsd-src/external/bsd/openldap/dist/servers/slapd/globals.c (revision c2f76ff004a2cb67efe5b12d97bd3ef7fe89e18d)
1 /*	$NetBSD: globals.c,v 1.1.1.3 2010/12/12 15:22:30 adam Exp $	*/
2 
3 /* globals.c - various global variables */
4 /* OpenLDAP: pkg/ldap/servers/slapd/globals.c,v 1.15.2.5 2010/04/13 20:23:15 kurt Exp */
5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
6  *
7  * Copyright 1998-2010 The OpenLDAP Foundation.
8  * All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted only as authorized by the OpenLDAP
12  * Public License.
13  *
14  * A copy of this license is available in the file LICENSE in the
15  * top-level directory of the distribution or, alternatively, at
16  * <http://www.OpenLDAP.org/license.html>.
17  */
18 
19 #include "portable.h"
20 
21 #include <ac/string.h>
22 #include "lber_pvt.h"
23 
24 #include "slap.h"
25 
26 
27 /*
28  * Global variables, in general, should be declared in the file
29  * primarily responsible for its management.  Configurable globals
30  * belong in config.c.  Variables declared here have no other
31  * sensible home.
32  */
33 
34 const struct berval slap_empty_bv = BER_BVC("");
35 const struct berval slap_unknown_bv = BER_BVC("unknown");
36 
37 /* normalized boolean values */
38 const struct berval slap_true_bv = BER_BVC("TRUE");
39 const struct berval slap_false_bv = BER_BVC("FALSE");
40 
41