return -1;
}
- /*
- * The caller may need to add his own socket to the scheduler.
- */
- if (!sc) return 0;
-
/*
* Add the socket to the scheduler, which might
* end up in a different thread.
fr_trie_t *fr_master_io_network(TALLOC_CTX *ctx, int af, fr_ipaddr_t *allow, fr_ipaddr_t *deny);
int fr_master_io_listen(TALLOC_CTX *ctx, fr_io_instance_t *io, fr_schedule_t *sc,
- size_t default_message_size, size_t num_messages);
+ size_t default_message_size, size_t num_messages) CC_HINT(nonnull);
#ifdef __cplusplus
}