diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | 30191d1a5704ad2b158386b511558972d539ce47 (patch) | |
tree | 4f46e5c4f28f672ab661aa18f45745860970a88c /source3/groupdb/mapping.h | |
parent | 789856f63ff73fec66298e95c91c60db7bdaf14e (diff) | |
download | samba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz samba-30191d1a5704ad2b158386b511558972d539ce47.tar.xz samba-30191d1a5704ad2b158386b511558972d539ce47.zip |
RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
Diffstat (limited to 'source3/groupdb/mapping.h')
-rw-r--r-- | source3/groupdb/mapping.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/groupdb/mapping.h b/source3/groupdb/mapping.h index 29e8ad5ffa..4af38314f8 100644 --- a/source3/groupdb/mapping.h +++ b/source3/groupdb/mapping.h @@ -14,15 +14,15 @@ groupdb mapping backend abstraction */ struct mapping_backend { - BOOL (*init_group_mapping)(void); - BOOL (*add_mapping_entry)(GROUP_MAP *map, int flag); - BOOL (*get_group_map_from_sid)(DOM_SID sid, GROUP_MAP *map); - BOOL (*get_group_map_from_gid)(gid_t gid, GROUP_MAP *map); - BOOL (*get_group_map_from_ntname)(const char *name, GROUP_MAP *map); - BOOL (*group_map_remove)(const DOM_SID *sid); - BOOL (*enum_group_mapping)(const DOM_SID *domsid, enum lsa_SidType sid_name_use, + bool (*init_group_mapping)(void); + bool (*add_mapping_entry)(GROUP_MAP *map, int flag); + bool (*get_group_map_from_sid)(DOM_SID sid, GROUP_MAP *map); + bool (*get_group_map_from_gid)(gid_t gid, GROUP_MAP *map); + bool (*get_group_map_from_ntname)(const char *name, GROUP_MAP *map); + bool (*group_map_remove)(const DOM_SID *sid); + bool (*enum_group_mapping)(const DOM_SID *domsid, enum lsa_SidType sid_name_use, GROUP_MAP **pp_rmap, - size_t *p_num_entries, BOOL unix_only); + size_t *p_num_entries, bool unix_only); NTSTATUS (*one_alias_membership)(const DOM_SID *member, DOM_SID **sids, size_t *num); NTSTATUS (*add_aliasmem)(const DOM_SID *alias, const DOM_SID *member); |