mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
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>
This commit is contained in:
parent
2eaabee7ac
commit
e97d467642
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user