Home
last modified time | relevance | path

Searched refs:write_command (Results 1 – 2 of 2) sorted by relevance

/external/avahi/avahi-compat-howl/
Dcompat.c144 static int write_command(int fd, char reply) { in write_command() function
209 … if (write_command(self->thread_fd, ret < 0 ? COMMAND_POLL_FAILED : COMMAND_POLL_DONE) < 0) in thread_func()
391 if (write_command((*self)->main_fd, COMMAND_POLL) < 0) in sw_discovery_init()
415 if (write_command(self->main_fd, COMMAND_QUIT) < 0) in stop_thread()
524 if (write_command(self->main_fd, COMMAND_POLL) < 0) in sw_discovery_read_socket()
/external/avahi/avahi-compat-libdns_sd/
Dcompat.c277 static int write_command(int fd, char reply) { in write_command() function
346 … if (write_command(sdref->thread_fd, ret < 0 ? COMMAND_POLL_FAILED : COMMAND_POLL_DONE) < 0) in thread_func()
403 if (write_command(sdref->main_fd, COMMAND_POLL) < 0) in sdref_new()
425 ASSERT_SUCCESS(write_command(sdref->main_fd, COMMAND_QUIT)); in sdref_free()
509 if (write_command(sdref->main_fd, COMMAND_POLL) < 0) in DNSServiceProcessResult()