mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
r13862: rename chain_reply -> smbsrv_chain_reply
metze (This used to be commit 497b219c7d7ec15d1d25e174a7287b7da8d02403)
This commit is contained in:
parent
d8503c6ba1
commit
5991787ce6
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user