summaryrefslogtreecommitdiff
path: root/source4/smbd
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/smbd
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/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)