summaryrefslogtreecommitdiffstats
path: root/source/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
commit8037750df568e6b51b2b0cba9192468110470388 (patch)
treea74175e1835e91fe3aff3bd3dbca0e7072572321 /source/nsswitch/winbindd.h
parent73433dc349698b1b1f128439ab40eea6cbfa1187 (diff)
downloadsamba-8037750df568e6b51b2b0cba9192468110470388.tar.gz
samba-8037750df568e6b51b2b0cba9192468110470388.tar.xz
samba-8037750df568e6b51b2b0cba9192468110470388.zip
Apply some const
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r--source/nsswitch/winbindd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index 7c8e6256e15..0087d58195d 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/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);