diff options
| author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-04-02 17:24:19 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-04-02 17:24:19 -0400 |
| commit | 7d9f164cdc7ae0e7d1b0a967c1ea52a5e5e5a5ca (patch) | |
| tree | 142315b6b5faaab9a0eb07ba9a0d5a897845c70f /src/plugin.c | |
| parent | 2ec2f4549722921c1ad8a0d3b994a872fe781fd3 (diff) | |
| download | slapi-nis-7d9f164cdc7ae0e7d1b0a967c1ea52a5e5e5a5ca.tar.gz slapi-nis-7d9f164cdc7ae0e7d1b0a967c1ea52a5e5e5a5ca.tar.xz slapi-nis-7d9f164cdc7ae0e7d1b0a967c1ea52a5e5e5a5ca.zip | |
- add an explicit initialization step, and work out how to add/remove map
configuration at an API level
Diffstat (limited to 'src/plugin.c')
| -rw-r--r-- | src/plugin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 6315b68..8f412f1 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -25,6 +25,7 @@ #include <dirsrv/slapi-plugin.h> #include "dispatch.h" +#include "map.h" #include "nis.h" #include "plugin.h" #include "portmap.h" @@ -229,6 +230,10 @@ plugin_state_init(struct plugin_state **lstate) slapi_log_error(SLAPI_LOG_PLUGIN, plugin_description.spd_id, "set up %d listening sockets\n", state->n_listeners); + map_init(state); + slapi_log_error(SLAPI_LOG_PLUGIN, + plugin_description.spd_id, + "initialized maps\n"); *lstate = state; return 0; failed: |
