openldap/servers/slapd/globals.c

39 lines
1.1 KiB
C
Raw Normal View History

/* globals.c - various global variables */
/* $OpenLDAP$ */
2003-11-27 09:17:14 +08:00
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
2017-01-04 04:36:47 +08:00
* Copyright 1998-2017 The OpenLDAP Foundation.
2003-11-27 09:17:14 +08:00
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in the file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
#include "portable.h"
2004-04-28 05:40:54 +08:00
#include <ac/string.h>
2003-03-13 09:05:40 +08:00
#include "lber_pvt.h"
#include "slap.h"
2003-03-13 09:05:40 +08:00
/*
2003-11-30 09:09:12 +08:00
* Global variables, in general, should be declared in the file
* primarily responsible for its management. Configurable globals
2003-11-30 09:09:12 +08:00
* belong in config.c. Variables declared here have no other
* sensible home.
*/
2003-03-13 09:05:40 +08:00
const struct berval slap_empty_bv = BER_BVC("");
const struct berval slap_unknown_bv = BER_BVC("unknown");
2003-04-17 03:49:00 +08:00
/* normalized boolean values */
const struct berval slap_true_bv = BER_BVC("TRUE");
const struct berval slap_false_bv = BER_BVC("FALSE");