summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2010-12-06 16:06:20 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2010-12-07 15:32:30 +1100
commitc69ada0090d201e4bac6bd4bec2bf765b6facaa8 (patch)
tree18336c09c87ce1532fe8529451cbb075400ad6e8 /ctdb/include
parent6f77811cb11bbefa39cd134e3e95ff08db729b0e (diff)
downloadsamba-c69ada0090d201e4bac6bd4bec2bf765b6facaa8.tar.gz
samba-c69ada0090d201e4bac6bd4bec2bf765b6facaa8.tar.xz
samba-c69ada0090d201e4bac6bd4bec2bf765b6facaa8.zip
add a new ctdb_ltdb function to delete a record in a normal database
(This used to be ctdb commit fe9070ec9be69e6a6fcbf9899e7ced24541c9c3a)
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 5fc583cb6c..243a4dda94 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -648,6 +648,7 @@ int ctdb_ltdb_fetch(struct ctdb_db_context *ctdb_db,
TALLOC_CTX *mem_ctx, TDB_DATA *data);
int ctdb_ltdb_store(struct ctdb_db_context *ctdb_db, TDB_DATA key,
struct ctdb_ltdb_header *header, TDB_DATA data);
+int ctdb_ltdb_delete(struct ctdb_db_context *ctdb_db, TDB_DATA key);
int32_t ctdb_control_start_persistent_update(struct ctdb_context *ctdb,
struct ctdb_req_control *c,
TDB_DATA recdata);