summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-12-05 00:22:24 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-12-05 00:22:24 +0000
commitd67041a532ae2ab6f52647f0fd218dfe10a841c1 (patch)
tree765f025288dfd241966ee83c553ee1d80e168ff6 /source3
parent61fc7b98a73351f92646613989a207908e934d99 (diff)
downloadsamba-d67041a532ae2ab6f52647f0fd218dfe10a841c1.tar.gz
samba-d67041a532ae2ab6f52647f0fd218dfe10a841c1.tar.bz2
samba-d67041a532ae2ab6f52647f0fd218dfe10a841c1.zip
Const religion for some of the RPC code.
(This used to be commit 64bf8f81c49744fc0653db655e457981f3bcbac2)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_misc.c2
-rw-r--r--source3/rpc_parse/parse_samr.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 4507c29613..52e4b4b07c 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -293,7 +293,7 @@ void init_dom_sid(DOM_SID *sid, char *str_sid)
Inits a DOM_SID2 structure.
********************************************************************/
-void init_dom_sid2(DOM_SID2 *sid2, DOM_SID *sid)
+void init_dom_sid2(DOM_SID2 *sid2, const DOM_SID *sid)
{
sid2->sid = *sid;
sid2->num_auths = sid2->sid.num_auths;
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index dfc58839e5..6f47cd64e6 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -243,7 +243,7 @@ reads or writes a structure.
void init_samr_q_open_domain(SAMR_Q_OPEN_DOMAIN * q_u,
POLICY_HND *pol, uint32 flags,
- DOM_SID *sid)
+ const DOM_SID *sid)
{
DEBUG(5, ("samr_init_samr_q_open_domain\n"));
@@ -4840,7 +4840,7 @@ reads or writes a structure.
void init_samr_q_create_user(SAMR_Q_CREATE_USER * q_u,
POLICY_HND *pol,
- char *name,
+ const char *name,
uint32 acb_info, uint32 access_mask)
{
int len_name;