2003-02-28 19:14:32 -05: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-12 20:05:40 -05:00
|
|
|
#include "lber_pvt.h"
|
|
|
|
|
|
2003-02-28 19:14:32 -05:00
|
|
|
#include "slap.h"
|
|
|
|
|
|
2003-03-12 20:05:40 -05:00
|
|
|
|
2003-02-28 19:14:32 -05: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-12 20:05:40 -05:00
|
|
|
const struct berval slap_empty_bv = BER_BVC("");
|
|
|
|
|
const struct berval slap_unknown_bv = BER_BVC("unknown");
|
2003-02-28 19:14:32 -05:00
|
|
|
|
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");
|
2003-11-09 21:44:25 -05:00
|
|
|
|
2003-11-26 14:49:47 -05:00
|
|
|
//struct sync_cookie *slap_sync_cookie = NULL;
|
|
|
|
|
struct slap_sync_cookie_s slap_sync_cookie =
|
|
|
|
|
LDAP_STAILQ_HEAD_INITIALIZER( slap_sync_cookie );
|