]> git.sur5r.net Git - openldap/blob - servers/slapd/globals.c
Happy New Year
[openldap] / servers / slapd / globals.c
1 /* globals.c - various global variables */
2 /* $OpenLDAP$ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4  *
5  * Copyright 1998-2018 The OpenLDAP Foundation.
6  * All rights reserved.
7  *
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.
11  *
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>.
15  */
16
17 #include "portable.h"
18
19 #include <ac/string.h>
20 #include "lber_pvt.h"
21
22 #include "slap.h"
23
24
25 /*
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.
30  */
31
32 const struct berval slap_empty_bv = BER_BVC("");
33 const struct berval slap_unknown_bv = BER_BVC("unknown");
34
35 /* normalized boolean values */
36 const struct berval slap_true_bv = BER_BVC("TRUE");
37 const struct berval slap_false_bv = BER_BVC("FALSE");
38