summaryrefslogtreecommitdiff
path: root/source4/smb_server/negprot.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-28 08:39:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:48 -0500
commit8bf537d119be3e1823ad41b8b8af0d163251b1c5 (patch)
treebbacd6ecb45e1a1cb095f389a21d39b2c426196e /source4/smb_server/negprot.c
parent4ddb2d347d86818a13d71d0eb2f0f8983c2cc41f (diff)
downloadsamba-8bf537d119be3e1823ad41b8b8af0d163251b1c5.tar.gz
samba-8bf537d119be3e1823ad41b8b8af0d163251b1c5.tar.bz2
samba-8bf537d119be3e1823ad41b8b8af0d163251b1c5.zip
r1280: rename struct request_context to smbsrv_request
metze (This used to be commit a85d2db5826a84b812ea5162a11f54edd25f74e3)
Diffstat (limited to 'source4/smb_server/negprot.c')
-rw-r--r--source4/smb_server/negprot.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c
index dfeb9ef457..83b3cd75e9 100644
--- a/source4/smb_server/negprot.c
+++ b/source4/smb_server/negprot.c
@@ -49,7 +49,7 @@ static void get_challenge(struct smbsrv_context *smb_ctx, char buff[8])
/****************************************************************************
Reply for the core protocol.
****************************************************************************/
-static void reply_corep(struct request_context *req, uint16_t choice)
+static void reply_corep(struct smbsrv_request *req, uint16_t choice)
{
req_setup_reply(req, 1, 0);
@@ -65,7 +65,7 @@ static void reply_corep(struct request_context *req, uint16_t choice)
this is quite incomplete - we only fill in a small part of the reply, but as nobody uses
this any more it probably doesn't matter
****************************************************************************/
-static void reply_coreplus(struct request_context *req, uint16_t choice)
+static void reply_coreplus(struct smbsrv_request *req, uint16_t choice)
{
uint16_t raw = (lp_readraw()?1:0) | (lp_writeraw()?2:0);
@@ -90,7 +90,7 @@ static void reply_coreplus(struct request_context *req, uint16_t choice)
/****************************************************************************
Reply for the lanman 1.0 protocol.
****************************************************************************/
-static void reply_lanman1(struct request_context *req, uint16_t choice)
+static void reply_lanman1(struct smbsrv_request *req, uint16_t choice)
{
int raw = (lp_readraw()?1:0) | (lp_writeraw()?2:0);
int secword=0;
@@ -134,7 +134,7 @@ static void reply_lanman1(struct request_context *req, uint16_t choice)
/****************************************************************************
Reply for the lanman 2.0 protocol.
****************************************************************************/
-static void reply_lanman2(struct request_context *req, uint16_t choice)
+static void reply_lanman2(struct smbsrv_request *req, uint16_t choice)
{
int raw = (lp_readraw()?1:0) | (lp_writeraw()?2:0);
int secword=0;
@@ -223,7 +223,7 @@ static DATA_BLOB negprot_spnego(struct smbsrv_context *smb_ctx)
/****************************************************************************
Reply for the nt protocol.
****************************************************************************/
-static void reply_nt1(struct request_context *req, uint16_t choice)
+static void reply_nt1(struct smbsrv_request *req, uint16_t choice)
{
/* dual names + lock_and_read + nt SMBs + remote API calls */
int capabilities;
@@ -422,7 +422,7 @@ protocol [LANMAN2.1]
static const struct {
const char *proto_name;
const char *short_name;
- void (*proto_reply_fn)(struct request_context *req, uint16_t choice);
+ void (*proto_reply_fn)(struct smbsrv_request *req, uint16_t choice);
int protocol_level;
} supported_protocols[] = {
{"NT LANMAN 1.0", "NT1", reply_nt1, PROTOCOL_NT1},
@@ -441,7 +441,7 @@ static const struct {
Reply to a negprot.
****************************************************************************/
-void reply_negprot(struct request_context *req)
+void reply_negprot(struct smbsrv_request *req)
{
int Index=0;
int choice = -1;