2003-03-01 08:14:32 +08:00
|
|
|
/* globals.c - various global variables */
|
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/*
|
|
|
|
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
2003-03-13 09:05:40 +08:00
|
|
|
#include "lber_pvt.h"
|
|
|
|
|
2003-03-01 08:14:32 +08:00
|
|
|
#include "slap.h"
|
|
|
|
|
2003-03-13 09:05:40 +08:00
|
|
|
|
2003-03-01 08:14:32 +08:00
|
|
|
/*
|
|
|
|
* global variables, in general, should be declared in the file
|
|
|
|
* primarily responsible for its management. Configurable globals
|
|
|
|
* 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-03-01 08:14:32 +08:00
|
|
|
|
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");
|