From ed6758c1628dd62c5d5fc336d665c1eb3893a971 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Tue, 22 Apr 2008 18:03:36 -0400 Subject: - provide a way for the backend to register callbacks with the directory - switch to using the plugin's entry for locating maps in preference to the hard-coded location --- src/map.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/map.c') diff --git a/src/map.c b/src/map.c index dfe8fc6..0caf00c 100644 --- a/src/map.c +++ b/src/map.c @@ -496,7 +496,12 @@ map_data_set_entry(struct plugin_state *state, } void -map_init(struct plugin_state *state) +map_startup(struct plugin_state *state) { - backend_init(state); + backend_startup(state); +} +void +map_init(struct slapi_pblock *pb, struct plugin_state *state) +{ + backend_init(pb, state); } -- cgit