Searched refs:msg_cb (Results 1 – 4 of 4) sorted by relevance
31 struct cras_main_msg_callback *msg_cb; in cras_main_message_add_handler() local33 DL_FOREACH(main_msg_callbacks, msg_cb) { in cras_main_message_add_handler()34 if (msg_cb->type == type) { in cras_main_message_add_handler()41 msg_cb = (struct cras_main_msg_callback *)calloc(1, sizeof(*msg_cb)); in cras_main_message_add_handler()42 msg_cb->type = type; in cras_main_message_add_handler()43 msg_cb->callback = callback; in cras_main_message_add_handler()44 msg_cb->callback_data = callback_data; in cras_main_message_add_handler()46 DL_APPEND(main_msg_callbacks, msg_cb); in cras_main_message_add_handler()
488 void (*msg_cb)(char *msg, size_t len)) in wpa_ctrl_request()567 if (msg_cb) { in wpa_ctrl_request()573 msg_cb(reply, res); in wpa_ctrl_request()728 void (*msg_cb)(char *msg, size_t len)) in wpa_ctrl_request()
492 void (*msg_cb)(char *msg, size_t len));