summaryrefslogtreecommitdiff
path: root/source3/include/ctdbd_conn.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-11-23 17:54:57 +0100
committerStefan Metzmacher <metze@samba.org>2013-03-26 11:19:02 +0100
commitabe4046643735cf0bc5bcdfe330dd946ab221808 (patch)
tree673868ed5db342873b24d9c1b0b33311cd81000f /source3/include/ctdbd_conn.h
parentc8c0bf74805c61b1379dab1d4529df0004872bb4 (diff)
downloadsamba-abe4046643735cf0bc5bcdfe330dd946ab221808.tar.gz
ctdb-conn: Add ctdbd_parse
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include/ctdbd_conn.h')
-rw-r--r--source3/include/ctdbd_conn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h
index 5778a9291d9..295d41e6b6a 100644
--- a/source3/include/ctdbd_conn.h
+++ b/source3/include/ctdbd_conn.h
@@ -65,6 +65,11 @@ NTSTATUS ctdbd_migrate(struct ctdbd_connection *conn, uint32_t db_id,
NTSTATUS ctdbd_fetch(struct ctdbd_connection *conn, uint32_t db_id,
TDB_DATA key, TALLOC_CTX *mem_ctx, TDB_DATA *data,
bool local_copy);
+NTSTATUS ctdbd_parse(struct ctdbd_connection *conn, uint32_t db_id,
+ TDB_DATA key, bool local_copy,
+ void (*parser)(TDB_DATA key, TDB_DATA data,
+ void *private_data),
+ void *private_data);
NTSTATUS ctdbd_traverse(uint32_t db_id,
void (*fn)(TDB_DATA key, TDB_DATA data,