summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-03 20:30:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:12 +1000
commite3edd7ca3ad73ff81a6ffddfeae208b930766e86 (patch)
tree7e63003ec0d04e5506ae86be5deecfb75ea5e371 /source3/include
parent4bf09967a40814619199a1ec6c7424612a767071 (diff)
downloadsamba-e3edd7ca3ad73ff81a6ffddfeae208b930766e86.tar.gz
samba-e3edd7ca3ad73ff81a6ffddfeae208b930766e86.tar.bz2
samba-e3edd7ca3ad73ff81a6ffddfeae208b930766e86.zip
s3-privs Add const
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f316a377dc..03196c30ed 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -639,10 +639,10 @@ NTSTATUS privilege_enumerate_accounts(struct dom_sid **sids, int *num_sids);
NTSTATUS privilege_enum_sids(enum sec_privilege privilege, TALLOC_CTX *mem_ctx,
struct dom_sid **sids, int *num_sids);
bool grant_privilege_set(const struct dom_sid *sid, struct lsa_PrivilegeSet *set);
-bool grant_privilege_by_name(struct dom_sid *sid, const char *name);
-bool revoke_all_privileges( struct dom_sid *sid );
+bool grant_privilege_by_name( const struct dom_sid *sid, const char *name);
+bool revoke_all_privileges( const struct dom_sid *sid );
bool revoke_privilege_set(const struct dom_sid *sid, struct lsa_PrivilegeSet *set);
-bool revoke_privilege_by_name(struct dom_sid *sid, const char *name);
+bool revoke_privilege_by_name(const struct dom_sid *sid, const char *name);
NTSTATUS privilege_create_account(const struct dom_sid *sid );
NTSTATUS privilege_delete_account(const struct dom_sid *sid);
NTSTATUS privilege_set_init(PRIVILEGE_SET *priv_set);