summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-01 23:16:07 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-01 23:16:07 +0000
commit74224aa4f8b113644e4090d4b09c5dbde6339c79 (patch)
treefa6ae8c0b429a4f32b715d1f39d2f5b6be98743c /source3
parent7032daa88719697076c61fcee6f2140a80eb7128 (diff)
downloadsamba-74224aa4f8b113644e4090d4b09c5dbde6339c79.tar.gz
samba-74224aa4f8b113644e4090d4b09c5dbde6339c79.tar.bz2
samba-74224aa4f8b113644e4090d4b09c5dbde6339c79.zip
const char* issues
(This used to be commit 11ecec8457a51588a1b55b7f35dec28fe94c0594)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h6
-rw-r--r--source3/rpc_parse/parse_net.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index cc7e392959..6ec2b23849 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2323,8 +2323,10 @@ BOOL net_io_q_sam_logon(char *desc, NET_Q_SAM_LOGON *q_l, prs_struct *ps, int d
BOOL net_io_r_sam_logon(char *desc, NET_R_SAM_LOGON *r_l, prs_struct *ps, int depth);
BOOL net_io_q_sam_logoff(char *desc, NET_Q_SAM_LOGOFF *q_l, prs_struct *ps, int depth);
BOOL net_io_r_sam_logoff(char *desc, NET_R_SAM_LOGOFF *r_l, prs_struct *ps, int depth);
-BOOL make_q_sam_sync(NET_Q_SAM_SYNC *q_s, char *srv_name, char *cli_name,
- DOM_CRED *cli_creds, uint32 database_id);
+BOOL make_q_sam_sync(NET_Q_SAM_SYNC *q_s,
+ const char *srv_name,
+ const char *cli_name,
+ DOM_CRED *cli_creds, uint32 database_id);
BOOL net_io_q_sam_sync(char *desc, NET_Q_SAM_SYNC *q_s, prs_struct *ps, int depth);
BOOL make_sam_delta_hdr(SAM_DELTA_HDR *delta, uint16 type, uint32 rid);
BOOL make_sam_account_info(SAM_ACCOUNT_INFO *info, char *user_name,
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index 790556e8c2..a1e699a096 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -1194,8 +1194,10 @@ BOOL net_io_r_sam_logoff(char *desc, NET_R_SAM_LOGOFF *r_l, prs_struct *ps, int
/*******************************************************************
makes a NET_Q_SAM_SYNC structure.
********************************************************************/
-BOOL make_q_sam_sync(NET_Q_SAM_SYNC *q_s, char *srv_name, char *cli_name,
- DOM_CRED *cli_creds, uint32 database_id)
+BOOL make_q_sam_sync(NET_Q_SAM_SYNC *q_s,
+ const char *srv_name,
+ const char *cli_name,
+ DOM_CRED *cli_creds, uint32 database_id)
{
if (q_s == NULL) return False;