summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-06 15:00:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:18 -0500
commit5991787ce6c5e6e46328133b79fb22734e0ababb (patch)
tree4a4eca1d897d46a0d2e8cc9f261708c03310c498 /source4
parentd8503c6ba120172e9aae737c5510e547e8dea4a5 (diff)
downloadsamba-5991787ce6c5e6e46328133b79fb22734e0ababb.tar.gz
samba-5991787ce6c5e6e46328133b79fb22734e0ababb.tar.bz2
samba-5991787ce6c5e6e46328133b79fb22734e0ababb.zip
r13862: rename chain_reply -> smbsrv_chain_reply
metze (This used to be commit 497b219c7d7ec15d1d25e174a7287b7da8d02403)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb/receive.c2
-rw-r--r--source4/smb_server/smb/reply.c20
2 files changed, 11 insertions, 11 deletions
diff --git a/source4/smb_server/smb/receive.c b/source4/smb_server/smb/receive.c
index 03eb5087d6..294d291300 100644
--- a/source4/smb_server/smb/receive.c
+++ b/source4/smb_server/smb/receive.c
@@ -557,7 +557,7 @@ static void switch_message(int type, struct smbsrv_request *req)
we call this when first first part of a possibly chained request has been completed
and we need to call the 2nd part, if any
*/
-void chain_reply(struct smbsrv_request *req)
+void smbsrv_chain_reply(struct smbsrv_request *req)
{
uint16_t chain_cmd, chain_offset;
uint8_t *vwv, *data;
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index 08ec0e7403..5e1f707aad 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -185,7 +185,7 @@ void reply_tcon_and_X(struct smbsrv_request *req)
SSVAL(req->in.hdr, HDR_TID, con.tconx.out.tid);
SSVAL(req->out.hdr,HDR_TID, con.tconx.out.tid);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -487,7 +487,7 @@ static void reply_open_and_X_send(struct smbsrv_request *req)
req->chained_fnum = oi->openx.out.fnum;
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -877,7 +877,7 @@ static void reply_read_and_X_send(struct smbsrv_request *req)
SSVAL(req->out.vwv, VWV(6), PTR_DIFF(io->readx.out.data, req->out.hdr));
REQ_VWV_RESERVED(7, 5);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
/****************************************************************************
@@ -1079,7 +1079,7 @@ static void reply_write_and_X_send(struct smbsrv_request *req)
SSVAL(req->out.vwv, VWV(4), io->writex.out.nwritten >> 16);
REQ_VWV_RESERVED(5, 1);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
/****************************************************************************
@@ -1769,7 +1769,7 @@ static void reply_lockingX_send(struct smbsrv_request *req)
SSVAL(req->out.vwv, VWV(0), SMB_CHAIN_NONE);
SSVAL(req->out.vwv, VWV(1), 0);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -2005,7 +2005,7 @@ static void reply_sesssetup_old(struct smbsrv_request *req)
SSVAL(req->out.hdr, HDR_UID, sess.old.out.vuid);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -2075,7 +2075,7 @@ static void reply_sesssetup_nt1(struct smbsrv_request *req)
req_push_str(req, NULL, sess.nt1.out.lanman, -1, STR_TERMINATE);
req_push_str(req, NULL, sess.nt1.out.domain, -1, STR_TERMINATE);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -2138,7 +2138,7 @@ static void reply_sesssetup_spnego(struct smbsrv_request *req)
req_push_str(req, NULL, sess.spnego.out.lanman, -1, STR_TERMINATE);
req_push_str(req, NULL, sess.spnego.out.workgroup, -1, STR_TERMINATE);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -2200,7 +2200,7 @@ void reply_ulogoffX(struct smbsrv_request *req)
SSVAL(req->out.vwv, VWV(0), SMB_CHAIN_NONE);
SSVAL(req->out.vwv, VWV(1), 0);
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
@@ -2274,7 +2274,7 @@ static void reply_ntcreate_and_X_send(struct smbsrv_request *req)
req->chained_fnum = io->ntcreatex.out.fnum;
- chain_reply(req);
+ smbsrv_chain_reply(req);
}
/****************************************************************************