summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-04-18 14:21:08 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-04-18 14:21:08 -0400
commit2ddb773155d784323abb300240e4e0d97ae59ff3 (patch)
tree032cb81de89547ec3ca36f952a987fb270830b9b /src/map.c
parent831b44fec2c457484058d61606544ea9ef6684c5 (diff)
downloadslapi-nis-2ddb773155d784323abb300240e4e0d97ae59ff3.tar.gz
slapi-nis-2ddb773155d784323abb300240e4e0d97ae59ff3.tar.xz
slapi-nis-2ddb773155d784323abb300240e4e0d97ae59ff3.zip
- use PR_Bool instead of bool_t, which is RPC-specific
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/map.c b/src/map.c
index 5310479..dfe8fc6 100644
--- a/src/map.c
+++ b/src/map.c
@@ -122,10 +122,10 @@ map_data_find_map_entry_id(struct plugin_state *state,
/* Query function: check if we have a record for the domain. Return that
* information in "supported", and return TRUE unless we ran into internal
* errors. */
-bool_t
+PRBool
map_supports_domain(struct plugin_state *state,
const char *domain_name,
- bool_t *supported)
+ PRBool *supported)
{
*supported = (map_data_find_domain(state, domain_name) != NULL);
return TRUE;
@@ -134,10 +134,10 @@ map_supports_domain(struct plugin_state *state,
/* Query function: check if we have a record for the map in the domain. Return
* that information in "supported", and return TRUE unless we ran into internal
* errors. */
-bool_t
+PRBool
map_supports_map(struct plugin_state *state,
const char *domain_name, const char *map_name,
- bool_t *supported)
+ PRBool *supported)
{
*supported = (map_data_find_map(state, domain_name, map_name) != NULL);
return TRUE;
@@ -145,7 +145,7 @@ map_supports_map(struct plugin_state *state,
/* Query function: return an indication of the map's age. Should never
* decrease. */
-bool_t
+PRBool
map_order(struct plugin_state *state,
const char *domain_name, const char *map_name,
unsigned int *order)
@@ -162,7 +162,7 @@ map_order(struct plugin_state *state,
/* Query function: return the entry value which matches the key. Return TRUE
* if we can find a value which corresponds to the key. */
-bool_t
+PRBool
map_match(struct plugin_state *state,
const char *domain_name, const char *map_name,
unsigned int key_len, char *key,
@@ -180,7 +180,7 @@ map_match(struct plugin_state *state,
/* Query function: return the first entry's key and value for a map. Return
* FALSE if there's no domain or map. */
-bool_t
+PRBool
map_first(struct plugin_state *state,
const char *domain_name, const char *map_name,
unsigned int *first_key_len, char **first_key,
@@ -206,7 +206,7 @@ map_first(struct plugin_state *state,
/* Query function: return the successor entry's key and value for a map.
* Return FALSE if there's no domain or map, or if the predecessor was the last
* key in the map. */
-bool_t
+PRBool
map_next(struct plugin_state *state,
const char *domain_name, const char *map_name,
unsigned int prev_len, const char *prev,