From 3434cd778c975eb1bb29d257770bd6dbb2335ce9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Mar 2006 11:47:24 +0000 Subject: r14616: added notify change support to the posix backend It doesn't fully work yet, and doesn't yet have all the efficiency that is planned, but it doesn't break anything and I wanted to get the code in the tree to minimise the chance of collisions with the work metze is doing. (This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9) --- source4/lib/messaging/messaging.h | 1 + source4/lib/tdb/include/tdbutil.h | 1 + 2 files changed, 2 insertions(+) (limited to 'source4/lib') diff --git a/source4/lib/messaging/messaging.h b/source4/lib/messaging/messaging.h index dcb20d69b1..de65eb9ffe 100644 --- a/source4/lib/messaging/messaging.h +++ b/source4/lib/messaging/messaging.h @@ -31,5 +31,6 @@ struct messaging_context; #define MSG_BRL_RETRY 4 #define MSG_PVFS_RETRY_OPEN 5 #define MSG_IRPC 6 +#define MSG_PVFS_NOTIFY 7 #endif diff --git a/source4/lib/tdb/include/tdbutil.h b/source4/lib/tdb/include/tdbutil.h index 02802c958d..26747373f4 100644 --- a/source4/lib/tdb/include/tdbutil.h +++ b/source4/lib/tdb/include/tdbutil.h @@ -44,6 +44,7 @@ int tdb_traverse_delete_fn(struct tdb_context *the_tdb, TDB_DATA key, TDB_DATA d void *state); int tdb_store_bystring(struct tdb_context *tdb, const char *keystr, TDB_DATA data, int flags); TDB_DATA tdb_fetch_bystring(struct tdb_context *tdb, const char *keystr); +int tdb_delete_bystring(struct tdb_context *tdb, const char *keystr); int tdb_unpack(struct tdb_context *tdb, char *buf, int bufsize, const char *fmt, ...); size_t tdb_pack(struct tdb_context *tdb, char *buf, int bufsize, const char *fmt, ...); -- cgit