Searched defs:line (Results 1 - 25 of 126) sorted by relevance

123456

/dovecot/src/old-stats/
H A Dfifo-input-connection.c56 const char *line, *const *args, *error; local
68 while ((line = i_stream_next_line(conn->input)) != NULL) T_BEGIN {
69 args = t_strsplit_tabescaped(line);
H A Dclient.c63 const char *line; local
65 line = i_stream_next_line(client->input);
66 if (line == NULL)
69 return t_strsplit_tabescaped(line);
/dovecot/src/doveadm/
H A Ddoveadm-stats.c29 char *line; local
45 if ((line = i_stream_read_next_line(input)) == NULL)
46 i_fatal("%s: Failed to read VERSION line", path);
47 else if (!version_string_verify(line, "stats-reader-server", 2)) {
57 while ((line = i_stream_read_next_line(input)) != NULL) {
58 if (line[0] == '\0')
62 t_strsplit_tabescaped_inplace(line);
H A Ddoveadm-penalty.c28 static void penalty_parse_line(const char *line, struct penalty_line *line_r) argument
30 const char *const *args = t_strsplit_tabescaped(line);
42 i_fatal("Read invalid penalty line: %s", line);
47 const struct penalty_line *line)
50 if (!net_is_in_network(&line->ip, &ctx->net_ip, ctx->net_bits))
54 doveadm_print(net_ip2addr(&line->ip));
55 doveadm_print(dec2str(line->penalty));
56 doveadm_print(unixdate2str(line->last_penalty));
57 doveadm_print(t_strflocaltime("%H:%M:%S", line
46 penalty_print_line(struct penalty_context *ctx, const struct penalty_line *line) argument
65 const char *line; local
[all...]
H A Ddoveadm-zlib.c49 const char *line; local
56 while ((line = i_stream_read_next_line(input)) != NULL) {
58 printf("%s\r\n", line);
59 while (*line != ' ' && *line != '\0') line++;
60 if (*line == '\0')
62 line++;
64 if (strncmp(line, "OK Begin compression", 20) == 0 ||
65 strcasecmp(line, "COMPRES
[all...]
/dovecot/src/lib-master/
H A Dipc-client.c34 static void ipc_client_input_line(struct ipc_client *client, const char *line) argument
42 i_error("IPC proxy sent unexpected input: %s", line);
46 switch (*line++) {
57 i_error("IPC proxy sent invalid input: %s", line);
58 line = "Invalid input";
64 cmds[0].callback(state, line, cmds[0].context);
71 const char *line; local
77 while ((line = i_stream_next_line(client->input)) != NULL) T_BEGIN {
78 ipc_client_input_line(client, line);
H A Dipc-server.c41 static void ipc_server_input_line(struct ipc_server *server, char *line) argument
48 p = strchr(line, '\t');
51 if (str_to_uint(line, &tag) < 0)
55 i_error("IPC proxy sent invalid input: %s", line);
71 char *line; local
79 if ((line = i_stream_next_line(server->input)) == NULL)
82 if (!version_string_verify(line, "ipc-proxy",
92 while ((line = i_stream_next_line(server->input)) != NULL)
93 ipc_server_input_line(server, line);
168 static void ipc_cmd_finish(struct ipc_cmd *cmd, const char *line) argument
[all...]
/dovecot/src/lib-smtp/
H A Dtest-smtp-reply-parser.c151 const char *const *line = test->text_lines; local
155 while (*line != NULL) {
164 strcmp(*line, *reply_line) == 0);
165 line++;
H A Dtest-smtp-command-parser.c188 const char *line; member in struct:smtp_auth_response_parse_valid_test
195 .line = "U3R1cGlkIEJhc2U2NCB0ZXN0"
198 .line = "U3R1cGlkIEJhc2U2NCB0ZXN0"
204 .line = "U3R1cGlkIHZlcnkgdmVyeSB2ZXJ5IHZlcnkgdmVyeS"
220 const char *line, *error = NULL; local
233 &line, &error_code, &error)) > 0);
239 test_out(t_strdup_printf("line = `%s'",
240 str_sanitize(test->line, 24)),
241 null_strcmp(line, test->line)
288 const char *response_text, *line, *error; local
[all...]
/dovecot/src/pop3-login/
H A Dpop3-proxy.c110 const char *line)
119 if (base64_decode(line, strlen(line), NULL, str) < 0) {
145 int pop3_proxy_parse_line(struct client *client, const char *line) argument
157 if (strncmp(line, "+OK", 3) != 0) {
160 str_sanitize(line, 160)));
165 strncmp(line+3, " [XCLIENT]", 10) == 0;
179 if (strncmp(line, "+OK", 3) != 0) {
182 str_sanitize(line, 160)));
198 if (strncmp(line, "
109 pop3_proxy_continue_sasl_auth(struct client *client, struct ostream *output, const char *line) argument
[all...]
/dovecot/src/director/
H A Dauth-connection.c34 char *line; local
52 while ((line = i_stream_next_line(conn->input)) != NULL) {
54 conn->callback(line, conn->context);
55 safe_memset(line, 0, strlen(line));
H A Dnotify-connection.c52 const char *line; local
55 while ((line = i_stream_read_next_line(conn->input)) != NULL) {
56 if (!director_get_username_hash(conn->dir, line, &hash))
59 notify_update_user(conn->dir, *tagp, line, hash);
/dovecot/src/dns/
H A Ddns-client.c27 static int dns_client_input_line(struct dns_client *client, const char *line) argument
34 if (strncmp(line, "IP\t", 3) == 0) {
35 ret = net_gethostbyname(line + 3, &ips, &ips_count);
51 } else if (strncmp(line, "NAME\t", 5) == 0) {
52 if (net_addr2ip(line+5, &ip) < 0)
61 } else if (strcmp(line, "QUIT") == 0) {
74 const char *line; local
78 while ((line = i_stream_read_next_line(client->input)) != NULL) {
79 if (dns_client_input_line(client, line) < 0) {
/dovecot/src/imap/
H A Dcmd-idle.c58 const char *line; local
60 while ((line = i_stream_next_line(ctx->client->input)) != NULL) {
64 idle_finish(ctx, strcasecmp(line, "DONE") == 0,
/dovecot/src/imap-hibernate/
H A Dimap-master-connection.c80 imap_master_client_input_line(struct connection *_conn, const char *line) argument
86 if (connection_input_line_default(_conn, line) < 0)
96 read_callback(conn->context, line);
/dovecot/src/ipc/
H A Dclient.c29 client_cmd_input(enum ipc_cmd_status status, const char *line, void *context) argument
48 t_strdup_printf("%c%s\n", chr, line));
61 char *line, *id, *data; local
65 while ((line = i_stream_read_next_line(client->input)) != NULL) {
67 id = strchr(line, '\t');
80 group = ipc_group_lookup_name(line);
97 t_strdup_printf("-Unknown IPC group: %s\n", line));
H A Dipc-group.c82 const char *line, void *context)
90 group_cmd->callback(IPC_CMD_STATUS_REPLY, line,
95 group_cmd->first_error = i_strdup(line);
102 group_cmd->callback(IPC_CMD_STATUS_OK, line,
81 ipc_group_cmd_callback(enum ipc_cmd_status status, const char *line, void *context) argument
/dovecot/src/lib-fs/
H A Distream-metawrap.c20 char *line, *p; local
22 while ((line = i_stream_read_next_line(mstream->istream.parent)) != NULL) {
23 if (*line == '\0') {
27 p = strchr(line, ':');
30 "Metadata header line is missing ':' at offset %"PRIuUOFF_T,
36 mstream->callback(line, p, mstream->context);
44 "Metadata header is missing ending line at offset %"PRIuUOFF_T,
/dovecot/src/replication/aggregator/
H A Dnotify-connection.c52 notify_input_line(struct notify_connection *conn, const char *line) argument
58 args = t_strsplit_tabescaped(line);
78 const char *line; local
84 i_error("Client sent too long line");
93 while ((line = i_stream_next_line(conn->input)) != NULL) {
95 ret = notify_input_line(conn, line);
/dovecot/src/lib-mail/
H A Dmessage-header-parser.c11 struct message_header_line line; member in struct:message_header_parser_ctx
58 struct message_header_line *line = &ctx->line; local
66 if (line->eoh)
69 if (line->continues)
72 /* new header line */
73 line->name_offset = ctx->input->v_offset;
80 continued = line->continues;
132 /* a) line is larger than input buffer
173 line
[all...]
/dovecot/src/anvil/
H A Danvil-connection.c40 const char *line; local
42 line = i_stream_next_line(conn->input);
43 return line == NULL ? NULL : t_strsplit_tabescaped(line);
143 const char *line, *const *args, *error; local
156 if ((line = i_stream_next_line(conn->input)) == NULL)
159 if (!version_string_verify(line, "anvil",
168 "(mixed old and new binaries?) %s", line);
/dovecot/src/auth/
H A Dauth-postfix-connection.c126 auth_postfix_input_line(struct auth_postfix_connection *conn, const char *line) argument
129 i_debug("postfix in: %s", line);
131 if (strncasecmp(line, "get ", 4) == 0)
132 return postfix_input_user(conn, line + 4);
135 str_sanitize(line, 80));
141 char *line; local
159 while ((line = i_stream_next_line(conn->input)) != NULL) {
161 ret = auth_postfix_input_line(conn, line);
H A Duserdb-passwd-file.c141 const char *line, *p; local
144 line = NULL;
146 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
147 if (*line == '\0' || *line == ':' || *line == '#')
150 ((p = i_strchr_to_next(line, ':')) == NULL ||
157 if (line == NULL && ctx->input->stream_errno != 0) {
163 if (line == NULL)
166 _ctx->callback(t_strcut(line, '
[all...]
/dovecot/src/config/
H A Dconfig-connection.c40 const char *line; local
42 line = i_stream_next_line(conn->input);
43 if (line == NULL)
46 return t_strsplit_tabescaped(line);
155 const char *const *args, *line; local
168 line = i_stream_next_line(conn->input);
169 if (line == NULL)
172 if (!version_string_verify(line, "config",
/dovecot/src/dict/
H A Ddict-connection.c23 const char *line)
28 if (*line++ != DICT_PROTOCOL_CMD_HELLO)
32 if (*line++ - '0' != DICT_CLIENT_PROTOCOL_MAJOR_VERSION ||
33 *line++ != '\t')
37 if (str_parse_uint(line, &conn->minor_version, &line) < 0)
39 if (*line++ != '\t')
43 value_type = line;
44 while (*line != '\t' && *line !
22 dict_connection_parse_handshake(struct dict_connection *conn, const char *line) argument
113 const char *line; local
136 const char *line; local
[all...]

Completed in 23 milliseconds

123456