summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-06 15:33:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:18 -0500
commit354a61fc915da99a16732337b62920909a591b58 (patch)
tree36a966b58285cd89e1ad2343f28f76ccc105dd24
parentb58f6e543d5c8a057831612a1a40e0b7d3919bce (diff)
downloadsamba-354a61fc915da99a16732337b62920909a591b58.tar.gz
samba-354a61fc915da99a16732337b62920909a591b58.tar.bz2
samba-354a61fc915da99a16732337b62920909a591b58.zip
r13866: prefix more functions with smbsrv_
metze (This used to be commit bb083f17c961964dd99185ae4194596ccaafd4a8)
-rw-r--r--source4/smb_server/smb/reply.c10
-rw-r--r--source4/smb_server/smb/service.c2
-rw-r--r--source4/smb_server/smb/sesssetup.c6
3 files changed, 8 insertions, 10 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index cbfd3fac98..a5665d3525 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -102,7 +102,7 @@ void smbsrv_reply_tcon(struct smbsrv_request *req)
}
/* call backend */
- status = tcon_backend(req, &con);
+ status = smbsrv_tcon_backend(req, &con);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -155,7 +155,7 @@ void smbsrv_reply_tcon_and_X(struct smbsrv_request *req)
}
/* call backend */
- status = tcon_backend(req, &con);
+ status = smbsrv_tcon_backend(req, &con);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -1989,7 +1989,7 @@ static void reply_sesssetup_old(struct smbsrv_request *req)
p += req_pull_string(req, &sess.old.in.lanman, p, -1, STR_TERMINATE);
/* call the generic handler */
- status = sesssetup_backend(req, &sess);
+ status = smbsrv_sesssetup_backend(req, &sess);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -2055,7 +2055,7 @@ static void reply_sesssetup_nt1(struct smbsrv_request *req)
p += req_pull_string(req, &sess.nt1.in.lanman, p, -1, STR_TERMINATE);
/* call the generic handler */
- status = sesssetup_backend(req, &sess);
+ status = smbsrv_sesssetup_backend(req, &sess);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -2111,7 +2111,7 @@ static void reply_sesssetup_spnego(struct smbsrv_request *req)
p += req_pull_string(req, &sess.spnego.in.workgroup, p, -1, STR_TERMINATE);
/* call the generic handler */
- status = sesssetup_backend(req, &sess);
+ status = smbsrv_sesssetup_backend(req, &sess);
if (!NT_STATUS_IS_OK(status) &&
!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
diff --git a/source4/smb_server/smb/service.c b/source4/smb_server/smb/service.c
index f5ba1254d8..49c2384e98 100644
--- a/source4/smb_server/smb/service.c
+++ b/source4/smb_server/smb/service.c
@@ -152,7 +152,7 @@ static NTSTATUS make_connection(struct smbsrv_request *req,
/*
backend for tree connect call
*/
-NTSTATUS tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
+NTSTATUS smbsrv_tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
{
NTSTATUS status;
diff --git a/source4/smb_server/smb/sesssetup.c b/source4/smb_server/smb/sesssetup.c
index a90f709a12..916224b26e 100644
--- a/source4/smb_server/smb/sesssetup.c
+++ b/source4/smb_server/smb/sesssetup.c
@@ -357,8 +357,8 @@ failed:
/*
backend for sessionsetup call - this takes all 3 variants of the call
*/
-NTSTATUS sesssetup_backend(struct smbsrv_request *req,
- union smb_sesssetup *sess)
+NTSTATUS smbsrv_sesssetup_backend(struct smbsrv_request *req,
+ union smb_sesssetup *sess)
{
NTSTATUS status = NT_STATUS_INVALID_LEVEL;
@@ -380,5 +380,3 @@ NTSTATUS sesssetup_backend(struct smbsrv_request *req,
return status;
}
-
-