openldap/servers/slapd/globals.c

39 lines
1.1 KiB
C
Raw Normal View History

/* globals.c - various global variables */
/* $OpenLDAP$ */
2003-11-26 20:17:14 -05:00
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
2004-01-01 14:15:16 -05:00
* Copyright 1998-2004 The OpenLDAP Foundation.
2003-11-26 20:17:14 -05: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-27 17:40:54 -04:00
#include <ac/string.h>
2003-03-12 20:05:40 -05:00
#include "lber_pvt.h"
#include "slap.h"
2003-03-12 20:05:40 -05:00
/*
2003-11-29 20:09:12 -05:00
* Global variables, in general, should be declared in the file
* primarily responsible for its management. Configurable globals
2003-11-29 20:09:12 -05:00
* belong in config.c. Variables declared here have no other
* sensible home.
*/
2003-03-12 20:05:40 -05:00
const struct berval slap_empty_bv = BER_BVC("");
const struct berval slap_unknown_bv = BER_BVC("unknown");
2003-04-16 15:49:00 -04:00
/* normalized boolean values */
const struct berval slap_true_bv = BER_BVC("TRUE");
const struct berval slap_false_bv = BER_BVC("FALSE");