Searched refs:to (Results 1 - 25 of 85) sorted by relevance

1234

/dovecot/src/plugins/push-notification/
H A Dpush-notification-event-messageappend.h13 const char *to; member in struct:push_notification_event_messageappend_data
H A Dpush-notification-event-messagenew.h18 const char *to; member in struct:push_notification_event_messagenew_data
H A Dpush-notification-event-messageappend.c45 if (data->to != NULL) {
46 i_debug("%s: To [%s]", EVENT_NAME, data->to);
72 if ((data->to == NULL) &&
75 data->to = p_strdup(ptxn->pool, value);
H A Dpush-notification-event-messagenew.c55 if (data->to != NULL) {
56 i_debug("%s: To [%s]", EVENT_NAME, data->to);
86 if ((data->to == NULL) &&
89 data->to = p_strdup(ptxn->pool, value);
/dovecot/src/lib/
H A Distream-timeout.c12 struct timeout *to; member in struct:timeout_istream
25 timeout_remove(&tstream->to);
35 if (tstream->to != NULL)
36 tstream->to = io_loop_move_timeout_to(ioloop, &tstream->to);
47 before IOs, so wait for i_stream_read() to be called again
52 timeout_remove(&tstream->to);
59 tstream->to = timeout_add_to(io_stream_get_ioloop(iostream),
80 the timeout to the timestamp where we actually would have wanted to
[all...]
H A Dtest-ioloop.c70 struct timeout *to = timeout_add(2000, test_ioloop_fd_to, &test_ctx); local
78 timeout_remove(&to);
96 struct timeout *to, *to2; local
114 to = timeout_add(1000, timeout_callback, &tv_callback);
115 timeout_remove(&to);
118 to = timeout_add(1000, timeout_callback, &tv_callback);
123 timeout_remove(&to);
H A Dbyteorder.h4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
27 * These prototypes exist to catch bugs in the code generating macros below.
209 /* we read a LE int as BE, so we always have to byte swap */ \
215 /* we'll be writing in BE, so we always have to byt
[all...]
H A Dconnection.c88 i_error("%s: Connected to wrong socket type. "
150 i_assert(conn->to == NULL);
178 conn->to = timeout_add_to(conn->ioloop,
305 i_assert(conn->to == NULL);
325 timeout_remove(&conn->to);
356 conn->to = timeout_add_to(conn->ioloop,
370 timeout_remove(&conn->to);
394 if (conn->to != NULL)
395 timeout_reset(conn->to);
473 if (conn->to !
[all...]
/dovecot/src/plugins/mail-crypt/
H A Dmail-crypt-plugin.h8 struct timeout *to; member in struct:mail_crypt_cache
/dovecot/src/auth/
H A Dauth-worker-server.c46 struct timeout *to; member in struct:auth_worker_connection
78 timeout_reset(conn->to);
94 i_assert(conn->to != NULL);
129 timeout_remove(&conn->to);
130 conn->to = timeout_add(AUTH_WORKER_LOOKUP_TIMEOUT_SECS * 1000,
199 conn->to = timeout_add(AUTH_WORKER_MAX_IDLE_SECS * 1000,
246 timeout_remove(&conn->to);
283 timeout_reset(conn->to);
286 timeout_remove(&conn->to);
287 conn->to
[all...]
/dovecot/src/imap-hibernate/
H A Dimap-master-connection.c12 struct timeout *to; member in struct:imap_master_connection
51 conn->to = timeout_add(IMAP_MASTER_CONNECTION_TIMEOUT_MSECS,
66 timeout_remove(&conn->to);
/dovecot/src/lib-auth/
H A Dauth-server-connection.h12 struct timeout *to; member in struct:auth_server_connection
/dovecot/src/replication/replicator/
H A Dreplicator-brain.c20 struct timeout *to; member in struct:replicator_brain
65 timeout_remove(&brain->to);
148 wouldn't want it to be retried immediately. */
155 we'll do another replication to make sure nothing gets lost */
169 timeout_remove(&brain->to);
180 /* nothing more to do */
181 timeout_remove(&brain->to);
182 brain->to = timeout_add(next_secs * 1000,
188 /* all connections were full, put the user back to queue */
/dovecot/src/login-common/
H A Daccess-lookup.c20 struct timeout *to; member in struct:access_lookup
94 lookup->to = timeout_add(ACCESS_LOOKUP_TIMEOUT_MSECS,
111 timeout_remove(&lookup->to);
/dovecot/src/old-stats/
H A Dstats-carbon.c24 struct timeout *to; member in struct:stats_send_ctx
37 timeout_remove(&ctx->to);
109 this is to ensure we leave a little pause between
113 ctx->to = timeout_add(ctx->to_msecs,
/dovecot/src/util/
H A Dtcpwrap.c17 struct timeout *to; member in struct:tcpwrap_client
77 client->to = timeout_add(INPUT_TIMEOUT_MSECS, tcpwrap_client_timeout,
88 timeout_remove(&client->to);
/dovecot/src/lib-mail/
H A Dmessage-part-data.h18 struct message_address *to, *cc, *bcc; member in struct:message_part_envelope
46 If content_type_filter is set to an array of masks, then
84 /* Check if part is attachment according to given settings */
/dovecot/src/lib-master/
H A Dipc-server.c32 struct timeout *to; member in struct:ipc_server
100 timeout_remove(&server->to);
105 server->to = timeout_add(IPC_SERVER_RECONNECT_MSECS,
156 timeout_remove(&server->to);
/dovecot/src/plugins/replication/
H A Dreplication-plugin.c31 struct timeout *to; member in struct:replication_user
119 timeout_remove(&ruser->to);
199 timeout_remove(&ruser->to);
209 if (ruser->to == NULL) {
210 ruser->to = timeout_add_short(REPLICATION_NOTIFY_DELAY_MSECS,
249 mail already exists. and especially copies to Trash or to
257 /* Replication needs to be triggered on all the user-visible changes,
258 but not e.g. due to writes to cach
[all...]
/dovecot/src/anvil/
H A Dpenalty.c35 /* we use value up to two different checksums.
36 after that switch to pointer. */
49 struct timeout *to; member in struct:penalty
81 timeout_remove(&penalty->to);
132 /* switch to using a pointer */
167 timeout_remove(&penalty->to);
176 penalty->to = timeout_add(diff * 1000,
226 if (penalty->to == NULL) {
227 penalty->to = timeout_add(penalty->expire_secs * 1000,
/dovecot/src/lib-test/
H A Dtest-ostream.c13 struct timeout *to; member in struct:test_ostream
21 timeout_remove(&tstream->to);
51 /* first we need to try to flush the internal buffer */
55 /* append to output_buf until max_output_size is reached */
70 /* if we've internal_buf, append to it until max_buffer_size is
107 timeout_remove(&tstream->to);
113 if (tstream->to == NULL && tstream->flush_pending &&
115 tstream->to = timeout_add_short(0, test_ostream_send_more, tstream);
/dovecot/src/replication/aggregator/
H A Dreplicator-connection.c29 struct timeout *to; member in struct:replicator_connection
89 /* try to send about IO_BLOCK_SIZE amount of data,
162 if (conn->to == NULL) {
163 conn->to = timeout_add(REPLICATOR_RECONNECT_MSECS,
170 timeout_remove(&conn->to);
257 timeout_remove(&conn->to);
274 /* FIXME: compress duplicates, start writing to file */
276 /* queue internally to separate queues */
/dovecot/src/plugins/last-login/
H A Dlast-login-plugin.c20 struct timeout *to; member in struct:last_login_user
38 timeout_remove(&luser->to);
61 i_error("last_login_dict: Failed to write value for user %s: %s",
71 luser->to = timeout_add(0, last_login_dict_deinit, user);
84 /* we want to handle only logged in users,
/dovecot/src/lib-smtp/
H A Dsmtp-client-command.h20 /* The command is sent to server before login (or is the login
26 /* This command has priority and needs to be inserted before anything
27 else. This is e.g. used to make sure that the initial handshake
29 submitted to the connection. */
48 This is used by transactions to prevent subsequently submitted
51 the send queue is to be released. */
224 const struct smtp_address *to,
229 flags, after, to, params, callback, context) \
233 after, to, params, \
239 const struct smtp_address *to,
[all...]
/dovecot/src/lib-dict/
H A Ddict-memcached-ascii.c60 struct timeout *to; member in struct:memcached_ascii_dict
77 internal ioloop in case it wants to add some ios
257 if (dict->to != NULL)
258 dict->to = io_loop_move_timeout(&dict->to);
265 if (dict->to != NULL)
266 dict->to = io_loop_move_timeout(&dict->to);
289 dict->to = timeout_add(dict->timeout_msecs,
304 timeout_remove(&dict->to);
[all...]

Completed in 43 milliseconds

1234