Lines Matching defs:response
1671 static void send_message_callback(pa_context *c, int success, char *response, void *userdata) {
1682 pa_json_encoder_add_member_string(encoder, "response", response);
1689 printf("%s\n", response);
1695 static void list_handlers_callback(pa_context *c, int success, char *response, void *userdata) {
1707 // The response is already JSON encoded
1709 printf("%s\n", response);
1715 o = pa_json_parse(response);
1718 pa_log(_("list-handlers message response could not be parsed correctly"));
1725 pa_log(_("list-handlers message response is not a JSON array"));
1736 pa_log(_("list-handlers message response array element %d is not a JSON object"), i);
1767 pa_log(_("list-handlers message response could not be parsed correctly"));