]> git.sur5r.net Git - openldap/commitdiff
Add bi->bi_entry_get_rw.
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 23 Jul 2007 20:13:36 +0000 (20:13 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 23 Jul 2007 20:13:36 +0000 (20:13 +0000)
servers/slapd/back-null/null.c

index 4fc58ef961998d296cd07b430bde9bcdd5f4bca9..17b9254a5644cffa1f45383008f93b00e29fe1d6 100644 (file)
@@ -68,6 +68,20 @@ null_back_false( Operation *op, SlapReply *rs )
 }
 
 
+/* for overlays */
+int null_back_entry_get(
+       Operation *op,
+       struct berval *ndn,
+       ObjectClass *oc,
+       AttributeDescription *at,
+       int rw,
+       Entry **ent )
+{
+       *ent = NULL;
+       return 1;
+}
+
+
 /* Slap tools */
 
 static int
@@ -194,6 +208,8 @@ null_back_initialize( BackendInfo *bi )
        bi->bi_connection_init = 0;
        bi->bi_connection_destroy = 0;
 
+       bi->bi_entry_get_rw = null_back_entry_get;
+
        bi->bi_tool_entry_open = null_tool_entry_open;
        bi->bi_tool_entry_close = null_tool_entry_close;
        bi->bi_tool_entry_first = null_tool_entry_next;