summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-26 22:45:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:48 -0500
commit05ad898f68a2df1b102af95fdba0704479bde073 (patch)
treeaf679adf134a1e271701466d4101ca15571405e2 /source4/ntvfs
parent3b5c992481d510adbafba73f737360ebb21e3540 (diff)
downloadsamba-05ad898f68a2df1b102af95fdba0704479bde073.tar.gz
samba-05ad898f68a2df1b102af95fdba0704479bde073.tar.bz2
samba-05ad898f68a2df1b102af95fdba0704479bde073.zip
r3271: use "struct messaging_context *" instead of "void *" in messaging API
(This used to be commit cc93813e4a09c538ad485dc2b3cb4c9be34f3d18)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/common/brlock.c4
-rw-r--r--source4/ntvfs/common/opendb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c
index 607947615e..d4b152cf42 100644
--- a/source4/ntvfs/common/brlock.c
+++ b/source4/ntvfs/common/brlock.c
@@ -61,7 +61,7 @@ struct brl_context {
struct tdb_wrap *w;
servid_t server;
uint16_t tid;
- void *messaging_ctx;
+ struct messaging_context *messaging_ctx;
struct lock_struct last_lock_failure;
};
@@ -72,7 +72,7 @@ struct brl_context {
pending lock notifications.
*/
struct brl_context *brl_init(TALLOC_CTX *mem_ctx, servid_t server, uint16_t tid,
- void *messaging_ctx)
+ struct messaging_context *messaging_ctx)
{
char *path;
struct brl_context *brl;
diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c
index a3924daf8e..d8ca4c999d 100644
--- a/source4/ntvfs/common/opendb.c
+++ b/source4/ntvfs/common/opendb.c
@@ -44,7 +44,7 @@ struct odb_context {
struct tdb_wrap *w;
servid_t server;
uint16_t tid;
- void *messaging_ctx;
+ struct messaging_context *messaging_ctx;
};
/*
@@ -76,7 +76,7 @@ struct odb_lock {
notifications.
*/
struct odb_context *odb_init(TALLOC_CTX *mem_ctx, servid_t server, uint16_t tid,
- void *messaging_ctx)
+ struct messaging_context *messaging_ctx)
{
char *path;
struct odb_context *odb;