Lines Matching refs:line

59 	const char *line;
69 line = i_stream_read_next_line(ctx->input);
71 if (line == NULL) {
82 if (!version_string_verify(line, "director-doveadm", 1)) {
154 const char *line, *const *args;
159 line = i_stream_read_next_line(ctx->input);
160 if (line == NULL) {
165 args = t_strsplit_tabescaped(line);
200 const char *line, *const *args;
217 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
218 if (*line == '\0')
224 args = t_strsplit_tabescaped(line);
241 if (line == NULL)
350 const char *line, *const *args;
415 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
416 if (*line == '\0')
419 args = t_strsplit_tabescaped(line);
424 i_error("Invalid USER-LIST reply: %s", line);
445 if (line == NULL)
460 const char *line, *host;
509 line = i_stream_read_next_line(ctx->input);
510 if (line == NULL)
512 else if (strcmp(line, "OK") != 0) {
514 strcmp(line, "NOTFOUND") == 0 ?
515 "doesn't exist" : line);
541 const char *host, *line;
559 line = i_stream_read_next_line(ctx->input);
560 if (line != NULL && strcmp(line, "NOTFOUND") == 0) {
565 } else if (line == NULL) {
567 } else if (strcmp(line, "OK") != 0) {
568 i_error("%s: %s\n", net_ip2addr(&ips[i]), line);
597 const char *line, *ip_str;
613 line = i_stream_read_next_line(ctx->input);
614 if (line == NULL) {
616 } else if (strcmp(line, "OK") == 0) {
619 } else if (strcmp(line, "NOTFOUND") == 0) {
622 } else if (strcmp(line, "TRYAGAIN") == 0) {
627 i_error("failed: %s", line);
636 const char *line;
658 line = i_stream_read_next_line(ctx->input);
659 if (line == NULL) {
661 } else if (strcmp(line, "OK") == 0) {
665 i_error("failed: %s", line);
673 const char *line;
676 line = "HOST-FLUSH\n";
678 line = t_strdup_printf("HOST-RESET-USERS\t\t%lld\n",
681 line = "HOST-RESET-USERS\n";
683 director_send(ctx, line);
685 line = i_stream_read_next_line(ctx->input);
686 if (line == NULL) {
688 } else if (strcmp(line, "OK") != 0) {
689 i_error("failed: %s", line);
702 const char *line;
740 line = i_stream_read_next_line(ctx->input);
741 if (line != NULL && strcmp(line, "NOTFOUND") == 0) {
746 } else if (line == NULL) {
748 } else if (strcmp(line, "OK") != 0) {
749 i_warning("%s: %s", net_ip2addr(&ips[i]), line);
761 const char *line, *const *args;
777 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
778 if (*line == '\0')
781 args = t_strsplit_tabescaped(line);
799 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
800 if (*line == '\0')
804 doveadm_print(line);
807 if (line == NULL)
815 const char *line;
817 line = i_stream_read_next_line(ctx->input);
818 if (line == NULL) {
820 } else if (strcmp(line, "NOTFOUND") == 0) {
823 } else if (strcmp(line, "OK") != 0) {
824 i_error("Failed: %s", line);
880 const char *line, *const *args;
899 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
900 if (*line == '\0')
906 args = t_strsplit_tabescaped(line);
922 if (line == NULL)