Lines Matching defs:ibc
15 #include "dsync-ibc.h"
102 if (dsync_ibc_has_failed(brain->ibc)) {
117 if (dsync_ibc_has_pending_data(brain->ibc))
125 dsync_brain_common_init(struct mail_user *user, struct dsync_ibc *ibc)
138 brain->ibc = ibc;
181 dsync_brain_master_init(struct mail_user *user, struct dsync_ibc *ibc,
197 brain = dsync_brain_common_init(user, ibc);
280 dsync_ibc_send_handshake(ibc, &ibc_set);
282 dsync_ibc_set_io_callback(ibc, dsync_brain_run_io, brain);
291 dsync_brain_slave_init(struct mail_user *user, struct dsync_ibc *ibc,
297 brain = dsync_brain_common_init(user, ibc);
311 dsync_ibc_send_handshake(ibc, &ibc_set);
315 dsync_ibc_set_io_callback(ibc, dsync_brain_run_io, brain);
343 if (dsync_ibc_has_timed_out(brain->ibc)) {
351 if (dsync_ibc_has_failed(brain->ibc) ||
354 dsync_ibc_close_mail_streams(brain->ibc);
475 if (dsync_ibc_recv_handshake(brain->ibc, &ibc_set) == 0)
500 if (dsync_ibc_recv_handshake(brain->ibc, &ibc_set) == 0)
586 ret = dsync_ibc_send_mailbox_state(brain->ibc, state);
590 dsync_ibc_send_end_of_list(brain->ibc, DSYNC_IBC_EOL_MAILBOX_STATE);
614 while ((ret = dsync_ibc_recv_mailbox_state(brain->ibc, &state)) > 0) {
633 dsync_ibc_send_finish(brain->ibc,
640 ret = dsync_ibc_recv_finish(brain->ibc, &error, &mail_error,
730 if (dsync_ibc_has_failed(brain->ibc)) {