Lines Matching defs:c
2 * util/tube.c - pipe service
4 * Copyright (c) 2008, NLnet Labs. All rights reserved.
149 tube_handle_listen(struct comm_point* c, void* arg, int error,
162 r = read(c->fd, ((uint8_t*)&tube->cmd_len) + tube->cmd_read,
192 r = read(c->fd, tube->cmd_msg+tube->cmd_read-sizeof(tube->cmd_len),
225 tube_handle_write(struct comm_point* c, void* arg, int error,
237 comm_point_stop_listening(c);
242 r = write(c->fd, ((uint8_t*)&item->len) + tube->res_write,
259 r = write(c->fd, item->buf + tube->res_write - sizeof(item->len),
282 comm_point_stop_listening(c);
719 tube_handle_listen(struct comm_point* ATTR_UNUSED(c), void* ATTR_UNUSED(arg),
727 tube_handle_write(struct comm_point* ATTR_UNUSED(c), void* ATTR_UNUSED(arg),