diff options
author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-04-02 18:40:12 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-04-02 18:40:12 -0400 |
commit | f499e75251c463f2d736b19b60daec49a32b6faf (patch) | |
tree | 763ace72c18e4622300a438d66071a671d95f6a5 /src/map.h | |
parent | bfe49423f8833d96c45ed0b38670e7f04b1ed6c0 (diff) | |
download | slapi-nis-f499e75251c463f2d736b19b60daec49a32b6faf.tar.gz slapi-nis-f499e75251c463f2d736b19b60daec49a32b6faf.tar.xz slapi-nis-f499e75251c463f2d736b19b60daec49a32b6faf.zip |
- warning cleanups
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,4 +1,5 @@ struct plugin_state; +/* Functions to pull data out of maps. */ void map_init(struct plugin_state *state); bool_t map_supports_domain(struct plugin_state *state, const char *domain, @@ -23,3 +24,21 @@ bool_t map_next(struct plugin_state *state, bool_t map_order(struct plugin_state *state, const char *domain, const char *map, unsigned int *order); +/* Functions to push data into maps. */ +void map_data_clear_map(struct plugin_state *state, + const char *domain_name, const char *map_name); +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); +void map_data_unset_entry_key(struct plugin_state *state, + const char *domain_name, const char *map_name, + unsigned int key_len, const char *key); +void map_data_unset_entry_id(struct plugin_state *state, + const char *domain_name, const char *map_name, + const char *id); +void map_data_set_entry(struct plugin_state *state, + const char *domain_name, const char *map_name, + const char *id, + unsigned int key_len, char *key, + unsigned int value_len, char *value); |