summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep/sys_notify.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-28 17:03:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:24 -0500
commit1fbb49a3e7ed78582e283060b6624c57f30d13dd (patch)
tree97daec6c1b1ae050fa364ed8230b3cf3ed4419bc /source4/ntvfs/sysdep/sys_notify.h
parentd3400402d57eaaf56c8436aafd92d9768eee31e7 (diff)
downloadsamba-1fbb49a3e7ed78582e283060b6624c57f30d13dd.tar.gz
samba-1fbb49a3e7ed78582e283060b6624c57f30d13dd.tar.bz2
samba-1fbb49a3e7ed78582e283060b6624c57f30d13dd.zip
r21041: Change some "private" to "private_data", and change one (void **) function
parameter to (void *). void** in function parameters leads to type-punned warnings. Volker (This used to be commit 57979d89c53b4363e4b447205703579df6756653)
Diffstat (limited to 'source4/ntvfs/sysdep/sys_notify.h')
-rw-r--r--source4/ntvfs/sysdep/sys_notify.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/source4/ntvfs/sysdep/sys_notify.h b/source4/ntvfs/sysdep/sys_notify.h
index 6db10fe02c..a660ee7de5 100644
--- a/source4/ntvfs/sysdep/sys_notify.h
+++ b/source4/ntvfs/sysdep/sys_notify.h
@@ -28,12 +28,13 @@ typedef void (*sys_notify_callback_t)(struct sys_notify_context *,
typedef NTSTATUS (*notify_watch_t)(struct sys_notify_context *ctx,
struct notify_entry *e,
- sys_notify_callback_t callback, void *private,
- void **handle);
+ sys_notify_callback_t callback,
+ void *private_data,
+ void *handle_p);
struct sys_notify_context {
struct event_context *ev;
- void *private; /* for use of backend */
+ void *private_data; /* for use of backend */
const char *name;
notify_watch_t notify_watch;
};
@@ -48,6 +49,6 @@ struct sys_notify_context *sys_notify_context_create(struct share_config *scfg,
TALLOC_CTX *mem_ctx,
struct event_context *ev);
NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, struct notify_entry *e,
- sys_notify_callback_t callback, void *private,
- void **handle);
+ sys_notify_callback_t callback, void *private_data,
+ void *handle);
NTSTATUS sys_notify_init(void);