]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/globals.c
backend operations and callbacks conforms to the new API.
[openldap] / servers / slapd / globals.c
index 68eda098a11c14444567ee587fb3c95ff0661b0a..7c3442ec0148cb6033c76c50c8692a6e3abd191a 100644 (file)
@@ -7,8 +7,11 @@
 
 #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
@@ -16,5 +19,6 @@
  * sensible home.
  */
 
-const struct berval slap_empty_bv = { 0, "" };
+const struct berval slap_empty_bv = BER_BVC("");
+const struct berval slap_unknown_bv = BER_BVC("unknown");