Back to index

openldap  2.4.31
globals.c
Go to the documentation of this file.
00001 /* globals.c - various global variables */
00002 /* $OpenLDAP$ */
00003 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
00004  *
00005  * Copyright 1998-2012 The OpenLDAP Foundation.
00006  * All rights reserved.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted only as authorized by the OpenLDAP
00010  * Public License.
00011  *
00012  * A copy of this license is available in the file LICENSE in the
00013  * top-level directory of the distribution or, alternatively, at
00014  * <http://www.OpenLDAP.org/license.html>.
00015  */
00016 
00017 #include "portable.h"
00018 
00019 #include <ac/string.h>
00020 #include "lber_pvt.h"
00021 
00022 #include "slap.h"
00023 
00024 
00025 /*
00026  * Global variables, in general, should be declared in the file
00027  * primarily responsible for its management.  Configurable globals
00028  * belong in config.c.  Variables declared here have no other
00029  * sensible home.
00030  */
00031 
00032 const struct berval slap_empty_bv = BER_BVC("");
00033 const struct berval slap_unknown_bv = BER_BVC("unknown");
00034 
00035 /* normalized boolean values */
00036 const struct berval slap_true_bv = BER_BVC("TRUE");
00037 const struct berval slap_false_bv = BER_BVC("FALSE");
00038