summaryrefslogtreecommitdiff
path: root/ctdb/common/common.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2016-09-13 12:50:13 +1000
committerAmitay Isaacs <amitay@samba.org>2016-12-16 08:42:32 +0100
commite97d467642a490d86540732ed126e569905c69de (patch)
tree1a41b253e6b4ed949c04269919895ee0cb7b4db6 /ctdb/common/common.h
parent2eaabee7ac0bc5526129b506ec957d2da303deb2 (diff)
downloadsamba-e97d467642a490d86540732ed126e569905c69de.tar.gz
ctdb-daemon: Move function typedef to where it's used
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/common/common.h')
-rw-r--r--ctdb/common/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/common/common.h b/ctdb/common/common.h
index cca48c9cb6e..48e5767c68a 100644
--- a/ctdb/common/common.h
+++ b/ctdb/common/common.h
@@ -22,6 +22,9 @@
/* From common/ctdb_io.c */
+typedef void (*ctdb_queue_cb_fn_t)(uint8_t *data, size_t length,
+ void *private_data);
+
int ctdb_queue_length(struct ctdb_queue *queue);
int ctdb_queue_send(struct ctdb_queue *queue, uint8_t *data, uint32_t length);