diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-28 08:39:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:48 -0500 |
commit | 8bf537d119be3e1823ad41b8b8af0d163251b1c5 (patch) | |
tree | bbacd6ecb45e1a1cb095f389a21d39b2c426196e /source4/smbd | |
parent | 4ddb2d347d86818a13d71d0eb2f0f8983c2cc41f (diff) | |
download | samba-8bf537d119be3e1823ad41b8b8af0d163251b1c5.tar.gz samba-8bf537d119be3e1823ad41b8b8af0d163251b1c5.tar.xz 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.h | 2 | ||||
-rw-r--r-- | source4/smbd/process_single.c | 2 | ||||
-rw-r--r-- | source4/smbd/process_standard.c | 2 | ||||
-rw-r--r-- | source4/smbd/process_thread.c | 2 | ||||
-rw-r--r-- | source4/smbd/rewrite.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h index b6058925987..8d6635205ce 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 620c4363809..ba4c7225e74 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 b3a69c72950..84166196d5d 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 bd63749f8ea..bccf132fe41 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 c24b2232fdd..b0ef693497d 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) |