diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-08-07 16:20:05 +1000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-13 11:54:08 +0200 |
commit | 0f41961e4ffaa602a5b19a1e0899bffa491c886f (patch) | |
tree | 183a091ff07336d07c04e496e493929e8031ebfb /source3/include | |
parent | 9c79d1c23e607947b582278b181af8f5ef37806b (diff) | |
download | samba-0f41961e4ffaa602a5b19a1e0899bffa491c886f.tar.gz samba-0f41961e4ffaa602a5b19a1e0899bffa491c886f.tar.bz2 samba-0f41961e4ffaa602a5b19a1e0899bffa491c886f.zip |
first cut at adding full transactions for ctdb to samba3
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ctdbd_conn.h | 5 | ||||
-rw-r--r-- | source3/include/dbwrap.h | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h index 3ea895d133..39f50c2cfc 100644 --- a/source3/include/ctdbd_conn.h +++ b/source3/include/ctdbd_conn.h @@ -69,4 +69,9 @@ NTSTATUS ctdbd_persistent_store(struct ctdbd_connection *conn, uint32_t db_id, T NTSTATUS ctdbd_start_persistent_update(struct ctdbd_connection *conn, uint32_t db_id, TDB_DATA key, TDB_DATA data); NTSTATUS ctdbd_cancel_persistent_update(struct ctdbd_connection *conn, uint32_t db_id, TDB_DATA key, TDB_DATA data); +NTSTATUS ctdbd_control_local(struct ctdbd_connection *conn, uint32 opcode, + uint64_t srvid, uint32_t flags, TDB_DATA data, + TALLOC_CTX *mem_ctx, TDB_DATA *outdata, + int *cstatus); + #endif /* _CTDBD_CONN_H */ diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h index 1f388165db..46833fabdc 100644 --- a/source3/include/dbwrap.h +++ b/source3/include/dbwrap.h @@ -54,11 +54,6 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, int hash_size, int tdb_flags, int open_flags, mode_t mode); -struct db_context *db_open_trans(TALLOC_CTX *mem_ctx, - const char *name, - int hash_size, int tdb_flags, - int open_flags, mode_t mode); - struct db_context *db_open_rbt(TALLOC_CTX *mem_ctx); struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx, @@ -72,7 +67,6 @@ struct db_context *db_open_tdb2(TALLOC_CTX *mem_ctx, int open_flags, mode_t mode); struct messaging_context; -void db_tdb2_setup_messaging(struct messaging_context *msg_ctx, bool server); #ifdef CLUSTER_SUPPORT struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx, |