Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / openldap / dist / servers / slapd / globals.c
blobae42ffdb1b45ad5f97134089ec6c04a35650432d
1 /* globals.c - various global variables */
2 /* $OpenLDAP: pkg/ldap/servers/slapd/globals.c,v 1.15.2.3 2008/02/11 23:26:44 kurt Exp $ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 1998-2008 The OpenLDAP Foundation.
6 * All rights reserved.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
10 * Public License.
12 * A copy of this license is available in the file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
17 #include "portable.h"
19 #include <ac/string.h>
20 #include "lber_pvt.h"
22 #include "slap.h"
26 * Global variables, in general, should be declared in the file
27 * primarily responsible for its management. Configurable globals
28 * belong in config.c. Variables declared here have no other
29 * sensible home.
32 const struct berval slap_empty_bv = BER_BVC("");
33 const struct berval slap_unknown_bv = BER_BVC("unknown");
35 /* normalized boolean values */
36 const struct berval slap_true_bv = BER_BVC("TRUE");
37 const struct berval slap_false_bv = BER_BVC("FALSE");