Lines Matching refs:efd
394 void program_client_extra_fd_input(struct program_client_extra_fd *efd)
396 struct program_client *pclient = efd->pclient;
398 i_assert(efd->callback != NULL);
399 efd->callback(efd->context, efd->input);
401 if (efd->input->closed || !i_stream_have_bytes_left(efd->input)) {
490 struct program_client_extra_fd *efd = NULL;
500 efd = &efds[i];
505 if (efd == NULL) {
506 efd = array_append_space(&pclient->extra_fds);
507 efd->pclient = pclient;
508 efd->child_fd = fd;
509 efd->parent_fd = -1;
511 efd->callback = callback;
512 efd->context = context;