summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-18 09:17:43 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-22 17:15:11 +0100
commit8de8554628bd3b16d9e488adfc31c8014c2eb1db (patch)
treeaf8a89fa8716dfdd450d4678d55563e1cc522641 /source3/smbd
parent0b7da43da0bd5c7e0986854cda63103f082a26ee (diff)
downloadsamba-8de8554628bd3b16d9e488adfc31c8014c2eb1db.tar.gz
samba-8de8554628bd3b16d9e488adfc31c8014c2eb1db.tar.bz2
samba-8de8554628bd3b16d9e488adfc31c8014c2eb1db.zip
s3:smbd: add smbd_[un]lock_socket() dummies
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/globals.h3
-rw-r--r--source3/smbd/process.c10
2 files changed, 13 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 428733d2dc..9bccbadb43 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -153,6 +153,9 @@ struct smbd_smb2_tcon;
DATA_BLOB negprot_spnego(void);
+bool smbd_lock_socket(struct smbd_server_connection *sconn);
+bool smbd_unlock_socket(struct smbd_server_connection *sconn);
+
NTSTATUS smb2_signing_sign_pdu(DATA_BLOB session_key,
struct iovec *vector,
int count);
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 09d00a3be8..3e27c0fa53 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -40,6 +40,16 @@ extern bool global_machine_password_needs_changing;
static void construct_reply_common(struct smb_request *req, const char *inbuf,
char *outbuf);
+bool smbd_lock_socket(struct smbd_server_connection *sconn)
+{
+ return true;
+}
+
+bool smbd_unlock_socket(struct smbd_server_connection *sconn)
+{
+ return true;
+}
+
/* Accessor function for smb_read_error for smbd functions. */
/****************************************************************************