Lines Matching refs:client_output_printf
170 static void client_output_printf(Client *c, const char *format, ...) {
197 client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_errno(avahi_server)));
201 client_output_printf(c, "+ %i %u %s %s\n", iface, protocol, hostname, t);
222 client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_errno(avahi_server)));
224 client_output_printf(c, "+ %i %u %s\n", iface, protocol, hostname);
250 client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_errno(avahi_server)));
262 client_output_printf(c, "%c %i %u %s %u\n", event == AVAHI_BROWSER_NEW ? '>' : '<', interface, protocol, t, port);
278 client_output_printf(c, "%+i Failed to parse command, try \"HELP\".\n", AVAHI_ERR_INVALID_OPERATION);
284 client_output_printf(c,
295 client_output_printf(c, "+ FUCK: Go fuck yourself!\n");
319 client_output_printf(c, "%+i Failed to parse address \"%s\".\n", AVAHI_ERR_INVALID_ADDRESS, arg);
333 client_output_printf(c, "+ Browsing ...\n");
341 client_output_printf(c, "+ Browsing ...\n");
349 client_output_printf(c, "+ Browsing ...\n");
354 client_output_printf(c, "%+i Invalid command \"%s\", try \"HELP\".\n", AVAHI_ERR_INVALID_OPERATION, cmd);
363 client_output_printf(c, "%+i %s\n", avahi_server_errno(avahi_server), avahi_strerror(avahi_server_errno(avahi_server)));