summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb/negprot.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-06 16:19:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:19 -0500
commita0e66eac7d8ff337b77e078038d0b23a25b22ee7 (patch)
tree07c99842739305ba950f6c3a1b4eb575f6e6d462 /source4/smb_server/smb/negprot.c
parent0533fed85adefc9aa74b6d5ae6b4293fb9c11d6a (diff)
downloadsamba-a0e66eac7d8ff337b77e078038d0b23a25b22ee7.tar.gz
samba-a0e66eac7d8ff337b77e078038d0b23a25b22ee7.tar.bz2
samba-a0e66eac7d8ff337b77e078038d0b23a25b22ee7.zip
r13870: prefix more functions with smbsrv_
metze (This used to be commit e6275db7b926d3660ad4a0f40041a5129001427a)
Diffstat (limited to 'source4/smb_server/smb/negprot.c')
-rw-r--r--source4/smb_server/smb/negprot.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c
index c8cd826c75..10155bd9e7 100644
--- a/source4/smb_server/smb/negprot.c
+++ b/source4/smb_server/smb/negprot.c
@@ -65,7 +65,7 @@ static NTSTATUS get_challenge(struct smbsrv_connection *smb_conn, uint8_t buff[8
****************************************************************************/
static void reply_corep(struct smbsrv_request *req, uint16_t choice)
{
- req_setup_reply(req, 1, 0);
+ smbsrv_setup_reply(req, 1, 0);
SSVAL(req->out.vwv, VWV(0), choice);
@@ -77,7 +77,7 @@ static void reply_corep(struct smbsrv_request *req, uint16_t choice)
return;
}
- req_send_reply(req);
+ smbsrv_send_reply(req);
}
/****************************************************************************
@@ -89,7 +89,7 @@ static void reply_coreplus(struct smbsrv_request *req, uint16_t choice)
{
uint16_t raw = (lp_readraw()?1:0) | (lp_writeraw()?2:0);
- req_setup_reply(req, 13, 0);
+ smbsrv_setup_reply(req, 13, 0);
/* Reply, SMBlockread, SMBwritelock supported. */
SCVAL(req->out.hdr,HDR_FLG,
@@ -110,7 +110,7 @@ static void reply_coreplus(struct smbsrv_request *req, uint16_t choice)
return;
}
- req_send_reply(req);
+ smbsrv_send_reply(req);
}
/****************************************************************************
@@ -132,7 +132,7 @@ static void reply_lanman1(struct smbsrv_request *req, uint16_t choice)
req->smb_conn->negotiate.protocol = PROTOCOL_LANMAN1;
- req_setup_reply(req, 13, req->smb_conn->negotiate.encrypted_passwords ? 8 : 0);
+ smbsrv_setup_reply(req, 13, req->smb_conn->negotiate.encrypted_passwords ? 8 : 0);
/* SMBlockread, SMBwritelock supported. */
SCVAL(req->out.hdr,HDR_FLG,
@@ -168,7 +168,7 @@ static void reply_lanman1(struct smbsrv_request *req, uint16_t choice)
return;
}
- req_send_reply(req);
+ smbsrv_send_reply(req);
}
/****************************************************************************
@@ -190,7 +190,7 @@ static void reply_lanman2(struct smbsrv_request *req, uint16_t choice)
req->smb_conn->negotiate.protocol = PROTOCOL_LANMAN2;
- req_setup_reply(req, 13, 0);
+ smbsrv_setup_reply(req, 13, 0);
SSVAL(req->out.vwv, VWV(0), choice);
SSVAL(req->out.vwv, VWV(1), secword);
@@ -218,7 +218,7 @@ static void reply_lanman2(struct smbsrv_request *req, uint16_t choice)
return;
}
- req_send_reply(req);
+ smbsrv_send_reply(req);
}
static void reply_nt1_orig(struct smbsrv_request *req)
@@ -313,7 +313,7 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice)
req->smb_conn->negotiate.protocol = PROTOCOL_NT1;
- req_setup_reply(req, 17, 0);
+ smbsrv_setup_reply(req, 17, 0);
SSVAL(req->out.vwv, VWV(0), choice);
SCVAL(req->out.vwv, VWV(1), secword);
@@ -415,7 +415,7 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice)
DEBUG(3,("using SPNEGO\n"));
}
- req_send_reply_nosign(req);
+ smbsrv_send_reply_nosign(req);
}
/*