summaryrefslogtreecommitdiff
path: root/ctdb/include
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/include
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/include')
-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 e3085d0e6ee..63735898037 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -45,12 +45,6 @@ struct ctdb_registered_call {
*/
#define ctdb_validate_pnn(ctdb, pnn) (((uint32_t)(pnn)) < (ctdb)->num_nodes)
-
-/* called from the queue code when a packet comes in. Called with data==NULL
- on error */
-typedef void (*ctdb_queue_cb_fn_t)(uint8_t *data, size_t length,
- void *private_data);
-
/* used for callbacks in ctdb_control requests */
typedef void (*ctdb_control_callback_fn_t)(struct ctdb_context *,
int32_t status, TDB_DATA data,