diff options
Diffstat (limited to 'ldap/servers/plugins/chainingdb/cb_debug.c')
-rw-r--r-- | ldap/servers/plugins/chainingdb/cb_debug.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ldap/servers/plugins/chainingdb/cb_debug.c b/ldap/servers/plugins/chainingdb/cb_debug.c new file mode 100644 index 00000000..8a33e440 --- /dev/null +++ b/ldap/servers/plugins/chainingdb/cb_debug.c @@ -0,0 +1,23 @@ +/** BEGIN COPYRIGHT BLOCK + * Copyright 2001 Sun Microsystems, Inc. + * Portions copyright 1999, 2001-2003 Netscape Communications Corporation. + * All rights reserved. + * END COPYRIGHT BLOCK **/ +/* + * cb_debug.c - debugging-related code for Chaining backend + */ + +#include <stdio.h> +#include <string.h> +#include <sys/types.h> +#include "cb.h" + +#ifdef _WIN32 +int *module_ldap_debug = 0; + +void plugin_init_debug_level(int *level_ptr) +{ + module_ldap_debug = level_ptr; +} +#endif + |