diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2008-06-21 11:18:32 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2008-06-21 11:18:32 -0400 |
commit | 62a5c9e22a2fe61d5db55c2cc41ab496f1f9f31f (patch) | |
tree | a123ff5753b1dc4f85f41ccb389c6976f0a90b4c | |
parent | 99f1378782095c83786e8390ba3ef74b91a1446b (diff) | |
download | slapi-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |