Searched refs:line (Results 1 - 25 of 150) sorted by relevance

123456

/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/doveadm/
H A Ddoveadm-replicator.c38 const char *line; local
48 line = i_stream_read_next_line(ctx->input);
50 if (line == NULL) {
59 if (!version_string_verify(line, "replicator-doveadm-server", 1)) {
119 char *line, *value; local
128 while ((line = i_stream_read_next_line(ctx->input)) != NULL) {
129 if (*line == '\0')
131 value = strchr(line, '\t');
136 doveadm_print(line);
145 const char *line, *cons local
194 const char *line; local
228 const char *line; local
270 const char *line; local
298 const char *line; local
[all...]
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-dump-dbox.c50 const char *line, *const *arg, *version; local
53 if ((line = i_stream_read_next_line(input)) == NULL)
55 arg = t_strsplit(line, " ");
125 const char *line; local
139 if ((line = i_stream_read_next_line(input)) == NULL)
141 if (*line == '\0')
144 switch (*line) {
146 printf("msg.guid = %s\n", line + 1);
149 printf("msg.pop3-uidl = %s\n", line + 1);
152 printf("msg.pop3-order = %s\n", line
[all...]
H A Ddoveadm-who.c81 static int who_parse_line(const char *line, struct who_line *line_r) argument
83 const char *const *args = t_strsplit_tabescaped(line);
124 const struct who_line *line)
128 lookup_user.username = line->username;
129 lookup_user.service = line->service;
134 user->username = p_strdup(ctx->pool, line->username);
135 user->service = p_strdup(ctx->pool, line->service);
140 user->connection_count += line->refcount;
142 if (line->ip.family != 0 && !who_user_has_ip(user, &line
123 who_aggregate_line(struct who_context *ctx, const struct who_line *line) argument
180 const char *line; local
282 who_line_filter_match(const struct who_line *line, const struct who_filter *filter) argument
297 who_print_line(struct who_context *ctx, const struct who_line *line) argument
[all...]
H A Ddoveadm-director.c59 const char *line; local
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; local
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; local
217 while ((line
350 const char *line, *const *args; local
460 const char *line, *host; local
541 const char *host, *line; local
597 const char *line, *ip_str; local
636 const char *line; local
673 const char *line; local
702 const char *line; local
761 const char *line, *const *args; local
815 const char *line; local
880 const char *line, *const *args; local
[all...]
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-oldstats.c57 const char *line; local
59 line = i_stream_read_next_line(input);
60 if (line == NULL)
63 return p_strsplit_tabescaped(pool, line);
143 struct top_line *line)
150 line->cur_values[ctx->last_update_idx]) != 0) {
156 /* line hasn't been updated, keep old values */
157 line->prev_values =
160 line->prev_values[i] = p_strdup(ctx->cur_pool, values[i]);
165 struct top_line *old_line, *line; local
141 stats_line_set_prev_values(struct top_context *ctx, const struct top_line *old_line, struct top_line *line) argument
204 struct top_line *line; local
222 sort_cpu_diff(const struct top_line *line) argument
260 sort_num_diff(const struct top_line *line) argument
378 stats_top_output_diff(struct top_context *ctx, const struct top_line *line, unsigned int i) argument
502 const char *line; local
[all...]
H A Ddoveadm-who.h28 const struct who_line *line);
34 bool who_line_filter_match(const struct who_line *line,
H A Ddoveadm-master.c126 const char *line, *const *services; local
136 (line = i_stream_read_next_line(input)) == NULL) {
140 } else if (line[0] == '-') {
142 i_error("%s", line+1);
143 } else if (line[0] != '+') {
145 i_stream_get_name(input), line);
154 const char *line, *const *services; local
176 while ((line = i_stream_read_next_line(input)) != NULL) {
177 if (line[0] == '\0')
180 const char *const *args = t_strsplit_tabescaped(line);
200 const char *line, *const *services; local
[all...]
/dovecot/src/auth/
H A Dauth-client-connection.c35 static const char *reply_line_hide_pass(const char *line) argument
40 if (strstr(line, "pass") == NULL)
41 return line;
43 newline = t_str_new(strlen(line));
45 const char *const *fields = t_strsplit(line, "\t");
169 auth_line_hide_pass(struct auth_client_connection *conn, const char *line) argument
173 p = strstr(line, "\tresp=");
175 return line;
179 return t_strconcat(line, AUTH_DEBUG_SENSITIVE_SUFFIX, NULL);
182 return t_strconcat(t_strdup_until(line,
187 cont_line_hide_pass(struct auth_client_connection *conn, const char *line) argument
202 auth_client_cancel(struct auth_client_connection *conn, const char *line) argument
216 auth_client_handle_line(struct auth_client_connection *conn, const char *line) argument
247 char *line; local
[all...]
/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...]
H A Ddict-commands.h14 int dict_command_input(struct dict_connection *conn, const char *line);
/dovecot/src/director/
H A Dlogin-connection.c43 char *line, *username; member in struct:login_host_request
53 static void auth_input_line(const char *line, void *context);
80 const char *line; local
82 while (!bail && (line = i_stream_read_next_line(conn->input)) != NULL) T_BEGIN {
84 if (!version_string_verify(line, "director-authreply-client",
86 i_error("authreply client sent invalid handshake: %s", line);
93 auth_input_line(line, conn);
111 login_connection_send_line(struct login_connection *conn, const char *line) argument
118 iov[0].iov_base = line;
119 iov[0].iov_len = strlen(line);
142 const char *line, *line_params; local
186 auth_input_line(const char *line, void *context) argument
[all...]
H A Dauth-connection.h4 /* Called for each input line. This is also called with line=NULL if
6 typedef void auth_input_callback(const char *line, void *context);
/dovecot/src/imap-login/
H A Dimap-proxy.h5 int imap_proxy_parse_line(struct client *client, const char *line);
H A Dimap-proxy.c171 struct ostream *output, const char *line)
177 if (strncmp(line, "* OK ", 5) != 0) {
180 str_sanitize(line, 160)));
185 if (strncmp(line + 5, "[CAPABILITY ", 12) == 0) {
186 capabilities = t_strsplit(t_strcut(line + 5 + 12, ']'), " ");
193 i_strdup(t_strcut(line + 5 + 12, ']'));
219 const char *line)
225 tagged_capability = strncasecmp(line, "[CAPABILITY ", 12) == 0;
227 capability = t_strcut(line + 12, ']');
240 if (*line
170 proxy_input_banner(struct imap_client *client, struct ostream *output, const char *line) argument
218 client_send_login_reply(struct imap_client *client, string_t *str, const char *line) argument
252 imap_proxy_parse_line(struct client *client, const char *line) argument
[all...]
/dovecot/src/pop3-login/
H A Dpop3-proxy.h5 int pop3_proxy_parse_line(struct client *client, const char *line);
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/submission-login/
H A Dsubmission-proxy.h5 int submission_proxy_parse_line(struct client *client, const char *line);
/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/lib-master/
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...]
H A Dipc-server.h7 line is guaranteed to be non-empty. */
8 typedef void ipc_command_callback_t(struct ipc_cmd *cmd, const char *line);
/dovecot/src/lib-storage/list/
H A Dsubscription-file.c88 const char *line; local
92 while ((line = i_stream_next_line(input)) == NULL) {
113 return line;
124 const char *line, *dir, *fname, *escaped_name; local
210 while ((line = next_line(list, path, input,
212 if (strcmp(line, escaped_name) == 0) {
220 o_stream_nsend_str(output, line);
228 line = t_strconcat(escaped_name, "\n", NULL);
229 o_stream_nsend_str(output, line);
323 subsfile_list_unescaped(struct subsfile_list_context *ctx, const char *line) argument
339 const char *line; local
[all...]
/dovecot/src/plugins/acl/
H A Dacl-global-file.c76 const char *line, const char **error_r)
81 if (*line == '"') {
82 line++;
83 if (str_unescape_next(&line, &vpattern) < 0) {
87 if (line[0] != ' ') {
91 line++;
93 p = strchr(line, ' ');
98 if (p == line) {
102 vpattern = t_strdup_until(line, p);
103 line
75 acl_global_file_parse_line(struct acl_global_file_parse_ctx *ctx, const char *line, const char **error_r) argument
121 const char *line, *error, *prev_vpattern; local
[all...]

Completed in 3260 milliseconds

123456