mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
29 lines
764 B
C
29 lines
764 B
C
/* globals.c - various global variables */
|
|
/* $OpenLDAP$ */
|
|
/*
|
|
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
|
|
#include "portable.h"
|
|
|
|
#include "lber_pvt.h"
|
|
|
|
#include "slap.h"
|
|
|
|
|
|
/*
|
|
* 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.
|
|
*/
|
|
|
|
const struct berval slap_empty_bv = BER_BVC("");
|
|
const struct berval slap_unknown_bv = BER_BVC("unknown");
|
|
|
|
/* normalized boolean values */
|
|
const struct berval slap_true_bv = BER_BVC("TRUE");
|
|
const struct berval slap_false_bv = BER_BVC("FALSE");
|
|
|
|
struct sync_cookie *slap_sync_cookie = NULL;
|