summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-03-30 08:03:32 +0000
committerVolker Lendecke <vlendec@samba.org>2004-03-30 08:03:32 +0000
commit97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3 (patch)
tree50ef7d1fbbf9ffc55617faed2fe7bcb00dd20422 /source3/nsswitch/winbindd.h
parent1a643a6fe9aded2530cf10177b527071b34db95f (diff)
downloadsamba-97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3.tar.gz
samba-97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3.tar.bz2
samba-97b200d422ce7e4acc9a6a9e786c4d44b3c6dfc3.zip
Apply some const
(This used to be commit 8037750df568e6b51b2b0cba9192468110470388)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r--source3/nsswitch/winbindd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h
index 7c8e6256e1..0087d58195 100644
--- a/source3/nsswitch/winbindd.h
+++ b/source3/nsswitch/winbindd.h
@@ -162,7 +162,7 @@ struct winbindd_methods {
/* lookup user info for a given SID */
NTSTATUS (*query_user)(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *user_sid,
+ const DOM_SID *user_sid,
WINBIND_USERINFO *user_info);
/* lookup all groups that a user is a member of. The backend
@@ -170,13 +170,13 @@ struct winbindd_methods {
function */
NTSTATUS (*lookup_usergroups)(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *user_sid,
+ const DOM_SID *user_sid,
uint32 *num_groups, DOM_SID ***user_gids);
/* find all members of the group with the specified group_rid */
NTSTATUS (*lookup_groupmem)(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
- DOM_SID *group_sid,
+ const DOM_SID *group_sid,
uint32 *num_names,
DOM_SID ***sid_mem, char ***names,
uint32 **name_types);