summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.h2
-rw-r--r--source4/smbd/process_single.c2
-rw-r--r--source4/smbd/process_standard.c2
-rw-r--r--source4/smbd/process_thread.c2
-rw-r--r--source4/smbd/rewrite.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h
index b605892598..8d6635205c 100644
--- a/source4/smbd/process_model.h
+++ b/source4/smbd/process_model.h
@@ -54,7 +54,7 @@ struct model_ops {
void (*exit_server)(struct smbsrv_context *smb, const char *reason);
/* returns process or thread id */
- int (*get_id)(struct request_context *req);
+ int (*get_id)(struct smbsrv_request *req);
};
/* this structure is used by modules to determine the size of some critical types */
diff --git a/source4/smbd/process_single.c b/source4/smbd/process_single.c
index 620c436380..ba4c7225e7 100644
--- a/source4/smbd/process_single.c
+++ b/source4/smbd/process_single.c
@@ -87,7 +87,7 @@ static void terminate_rpc_connection(void *r, const char *reason)
rpc_server_terminate(r);
}
-static int get_id(struct request_context *req)
+static int get_id(struct smbsrv_request *req)
{
return (int)req->smb_ctx->pid;
}
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index b3a69c7295..84166196d5 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -130,7 +130,7 @@ static void terminate_rpc_connection(void *r, const char *reason)
exit(0);
}
-static int get_id(struct request_context *req)
+static int get_id(struct smbsrv_request *req)
{
return (int)req->smb_ctx->pid;
}
diff --git a/source4/smbd/process_thread.c b/source4/smbd/process_thread.c
index bd63749f8e..bccf132fe4 100644
--- a/source4/smbd/process_thread.c
+++ b/source4/smbd/process_thread.c
@@ -37,7 +37,7 @@ static void *connection_thread(void *thread_parm)
return NULL;
}
-static int get_id(struct request_context *req)
+static int get_id(struct smbsrv_request *req)
{
return (int)pthread_self();
}
diff --git a/source4/smbd/rewrite.c b/source4/smbd/rewrite.c
index c24b2232fd..b0ef693497 100644
--- a/source4/smbd/rewrite.c
+++ b/source4/smbd/rewrite.c
@@ -35,7 +35,7 @@ BOOL init_change_notify(void)
BOOL pcap_printername_ok(const char *service, const char *foo)
{ return True; }
-BOOL share_access_check(struct request_context *req, struct smbsrv_tcon *tcon, int snum, uint32_t desired_access)
+BOOL share_access_check(struct smbsrv_request *req, struct smbsrv_tcon *tcon, int snum, uint32_t desired_access)
{ return True; }
BOOL init_names(void)