Lines Matching defs:cb
69 mcap_cb_type cb; /* Operation callback */
126 if (!mcl->cb)
127 mcl->cb = g_new0(struct mcap_mdl_cb, 1);
129 mcl->cb->mdl_connected = default_mdl_connected_cb;
130 mcl->cb->mdl_closed = default_mdl_closed_cb;
131 mcl->cb->mdl_deleted = default_mdl_deleted_cb;
132 mcl->cb->mdl_aborted = default_mdl_aborted_cb;
133 mcl->cb->mdl_conn_req = default_mdl_conn_req_cb;
134 mcl->cb->mdl_reconn_req = default_mdl_reconn_req_cb;
301 con->cb.op_conf(NULL, 0, err, con->user_data);
308 con->cb.notify(err, con->user_data);
318 con->cb.notify(err, con->user_data);
325 con->cb.op(NULL, err, con->user_data);
494 con->cb.op_conf = connect_cb;
543 con->cb.op = reconnect_cb;
600 con->cb.notify = delete_cb;
640 con->cb.notify = delete_cb;
676 con->cb.notify = abort_cb;
868 g_free(mcl->cb);
875 McapMclCb cb = cb1;
880 while (cb != MCAP_MDL_CB_INVALID) {
881 switch (cb) {
904 "Unknown option %d", cb);
907 cb = va_arg(args, int);
936 ret = parse_set_opts(mcl->cb, gerr, cb1, args);
942 mcl->cb->user_data = user_data;
958 mdl->mcl->cb->mdl_deleted(mdl, mdl->mcl->cb->user_data);
1024 rsp = mcl->cb->mdl_conn_req(mcl, mdep_id, mdl_id, &conf,
1025 mcl->cb->user_data);
1094 rsp = mcl->cb->mdl_reconn_req(mdl, mcl->cb->user_data);
1150 mcl->cb->mdl_aborted(abrt, mcl->cb->user_data);
1178 mcl->cb->mdl_deleted(NULL, mcl->cb->user_data);
1332 mcap_mdl_operation_conf_cb connect_cb = conn->cb.op_conf;
1371 mcap_mdl_operation_cb reconn_cb = reconn->cb.op;
1396 mcl->cb->mdl_deleted(mdl, mcl->cb->user_data);
1406 mcap_mdl_notify_cb abrt_cb = abrt->cb.notify;
1423 mcl->cb->mdl_deleted(mdl, mcl->cb->user_data);
1445 mdl->mcl->cb->mdl_closed(mdl, mdl->mcl->cb->user_data);
1465 mcap_mdl_notify_cb deleted_cb = del->cb.notify;
1615 mdl->mcl->cb->mdl_closed(mdl, mdl->mcl->cb->user_data);
1626 mcap_mdl_operation_cb cb = con->cb.op;
1636 cb(mdl, conn_err, user_data);
1647 cb(mdl, conn_err, user_data);
1673 con->cb.op = connect_cb;
1801 mcl->cb->mdl_connected(mdl, mcl->cb->user_data);