svn commit: samba r23991 - in branches: SAMBA_3_2/source/libsmb
SAMBA_3_2/source/rpc_server SAMBA_3_2_0/source/libsmb
SAMBA_3_2_0/source/rpc_server
vlendec at samba.org
vlendec at samba.org
Sun Jul 22 13:51:40 GMT 2007
Author: vlendec
Date: 2007-07-22 13:51:39 +0000 (Sun, 22 Jul 2007)
New Revision: 23991
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23991
Log:
Some const
Modified:
branches/SAMBA_3_2/source/libsmb/smb_signing.c
branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c
branches/SAMBA_3_2_0/source/libsmb/smb_signing.c
branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c
Changeset:
Modified: branches/SAMBA_3_2/source/libsmb/smb_signing.c
===================================================================
--- branches/SAMBA_3_2/source/libsmb/smb_signing.c 2007-07-22 11:38:11 UTC (rev 23990)
+++ branches/SAMBA_3_2/source/libsmb/smb_signing.c 2007-07-22 13:51:39 UTC (rev 23991)
@@ -812,7 +812,7 @@
Called to validate an incoming packet from the client.
************************************************************/
-BOOL srv_check_sign_mac(char *inbuf, BOOL must_be_ok)
+BOOL srv_check_sign_mac(const char *inbuf, BOOL must_be_ok)
{
/* Check if it's a session keepalive. */
if(CVAL(inbuf,0) == SMBkeepalive) {
Modified: branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c
===================================================================
--- branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c 2007-07-22 11:38:11 UTC (rev 23990)
+++ branches/SAMBA_3_2/source/rpc_server/srv_pipe_hnd.c 2007-07-22 13:51:39 UTC (rev 23991)
@@ -1246,7 +1246,7 @@
Find an rpc pipe given a pipe handle in a buffer and an offset.
****************************************************************************/
-smb_np_struct *get_rpc_pipe_p(char *buf, int where)
+smb_np_struct *get_rpc_pipe_p(const char *buf, int where)
{
int pnum = SVAL(buf,where);
Modified: branches/SAMBA_3_2_0/source/libsmb/smb_signing.c
===================================================================
--- branches/SAMBA_3_2_0/source/libsmb/smb_signing.c 2007-07-22 11:38:11 UTC (rev 23990)
+++ branches/SAMBA_3_2_0/source/libsmb/smb_signing.c 2007-07-22 13:51:39 UTC (rev 23991)
@@ -812,7 +812,7 @@
Called to validate an incoming packet from the client.
************************************************************/
-BOOL srv_check_sign_mac(char *inbuf, BOOL must_be_ok)
+BOOL srv_check_sign_mac(const char *inbuf, BOOL must_be_ok)
{
/* Check if it's a session keepalive. */
if(CVAL(inbuf,0) == SMBkeepalive)
Modified: branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c
===================================================================
--- branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c 2007-07-22 11:38:11 UTC (rev 23990)
+++ branches/SAMBA_3_2_0/source/rpc_server/srv_pipe_hnd.c 2007-07-22 13:51:39 UTC (rev 23991)
@@ -1248,7 +1248,7 @@
Find an rpc pipe given a pipe handle in a buffer and an offset.
****************************************************************************/
-smb_np_struct *get_rpc_pipe_p(char *buf, int where)
+smb_np_struct *get_rpc_pipe_p(const char *buf, int where)
{
int pnum = SVAL(buf,where);
More information about the samba-cvs
mailing list