summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_private.h
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-08-16 14:10:57 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-08-22 17:00:20 +1000
commit1ae731198a0556aa75b0c8e5c04a5c43b032392d (patch)
tree74cdc7148828165cb03ecbd900e27af40e1dad68 /ctdb/include/ctdb_private.h
parente657f75484ab2211e043fb1f2395179a3ec6c4f5 (diff)
downloadsamba-1ae731198a0556aa75b0c8e5c04a5c43b032392d.tar.gz
samba-1ae731198a0556aa75b0c8e5c04a5c43b032392d.tar.xz
samba-1ae731198a0556aa75b0c8e5c04a5c43b032392d.zip
recoverd: Move struct ctdb_public_ip_list back into ctdb_takeover.c
This is an internal structure. It was moved into ctdb_private.h a long time ago to allow unit testing. Unit test compilation was changed shortly afterwards to make this unnecessary. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit db57261d7dc264e161659a8c547f44fbd9e88eeb)
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r--ctdb/include/ctdb_private.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 3c97363b87c..987502ef008 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -1534,12 +1534,6 @@ void ctdb_local_remove_from_delete_queue(struct ctdb_db_context *ctdb_db,
struct ctdb_ltdb_header *ctdb_header_from_record_handle(struct ctdb_record_handle *h);
-/* For unit testing ctdb_transaction.c. */
-struct ctdb_public_ip_list {
- struct ctdb_public_ip_list *next;
- uint32_t pnn;
- ctdb_sock_addr addr;
-};
int ctdb_trackingdb_add_pnn(struct ctdb_context *ctdb, TDB_DATA *data, uint32_t pnn);
typedef void (*ctdb_trackingdb_cb)(struct ctdb_context *ctdb, uint32_t pnn, void *private_data);