return 0;
}
-void *messaging_dgm_register_tevent_context(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev)
+struct tevent_fd *messaging_dgm_register_tevent_context(
+ TALLOC_CTX *mem_ctx, struct tevent_context *ev)
{
struct messaging_dgm_context *ctx = global_dgm_context;
const int *fds, size_t num_fds);
int messaging_dgm_cleanup(pid_t pid);
int messaging_dgm_wipe(void);
-void *messaging_dgm_register_tevent_context(TALLOC_CTX *mem_ctx,
- struct tevent_context *ev);
+struct tevent_fd *messaging_dgm_register_tevent_context(
+ TALLOC_CTX *mem_ctx, struct tevent_context *ev);
#endif
struct msg_dgm_ref {
struct msg_dgm_ref *prev, *next;
- void *tevent_handle;
+ struct tevent_fd *tevent_handle;
void (*recv_cb)(struct tevent_context *ev,
const uint8_t *msg, size_t msg_len,
int *fds, size_t num_fds, void *private_data);