summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2008-06-21 11:18:32 -0400
committerNalin Dahyabhai <nalin@dahyabhai.net>2008-06-21 11:18:32 -0400
commit62a5c9e22a2fe61d5db55c2cc41ab496f1f9f31f (patch)
treea123ff5753b1dc4f85f41ccb389c6976f0a90b4c
parent99f1378782095c83786e8390ba3ef74b91a1446b (diff)
downloadslapi-nis-62a5c9e22a2fe61d5db55c2cc41ab496f1f9f31f.tar.gz
slapi-nis-62a5c9e22a2fe61d5db55c2cc41ab496f1f9f31f.tar.xz
slapi-nis-62a5c9e22a2fe61d5db55c2cc41ab496f1f9f31f.zip
- force anyone who initializes a map to provide a count of how many keys will
be used
-rw-r--r--src/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h
index b0e4a5c..8739f22 100644
--- a/src/map.h
+++ b/src/map.h
@@ -71,7 +71,7 @@ void map_data_unset_map(struct plugin_state *state,
const char *domain_name, const char *map_name);
void map_data_set_map(struct plugin_state *state,
const char *domain_name, const char *map_name,
- bool_t secure,
+ unsigned int n_keys, bool_t secure,
void *backend_data, void (*free_backend_data)(void *p));
void map_data_unset_entry_id(struct plugin_state *state,
const char *domain_name, const char *map_name,
@@ -80,7 +80,7 @@ void map_data_set_entry(struct plugin_state *state,
const char *domain_name, const char *map_name,
const char *id,
unsigned int n_keys,
- unsigned int *key_len, char **key,
+ unsigned int *key_len, char **keys,
unsigned int value_len, char *value);
bool_t map_data_check_entry(struct plugin_state *state,
const char *domain_name, const char *map_name,