summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@localhost.localdomain>2008-04-22 18:03:36 -0400
committerNalin Dahyabhai <nalin@localhost.localdomain>2008-04-22 18:03:36 -0400
commited6758c1628dd62c5d5fc336d665c1eb3893a971 (patch)
tree40626acf34579b78895cb00465b97f2232b4fab4 /src/map.c
parent9a95405454f62b9c9f51ca553e29b2bf2a80c42c (diff)
downloadslapi-nis-ed6758c1628dd62c5d5fc336d665c1eb3893a971.tar.gz
slapi-nis-ed6758c1628dd62c5d5fc336d665c1eb3893a971.tar.xz
slapi-nis-ed6758c1628dd62c5d5fc336d665c1eb3893a971.zip
- 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
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c9
1 files changed, 7 insertions, 2 deletions
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);
}