Searched defs:state (Results 1 - 25 of 92) sorted by relevance

1234

/dovecot/src/auth/
H A Dmech-otp-skey-common.h11 struct otp_state state; member in struct:otp_auth_request
H A Dpassword-scheme-otp.c18 struct otp_state state; local
21 if (otp_parse_dbentry(state_data, &state) != 0)
30 if (i_strocpy(state.seed, random_hex, sizeof(state.seed)) < 0)
33 state.seq = 1024;
34 state.algo = algo;
37 otp_hash(state.algo, state.seed, pw, state.seq, state
[all...]
H A Dmech-skey.c27 &request->state) != 0) {
34 if (request->state.algo != OTP_HASH_MD4) {
41 if (--request->state.seq < 1) {
57 request->state.seq, request->state.seed);
126 struct otp_state *state = &request->state; local
145 otp_next_hash(state->algo, hash, cur_hash);
147 ret = memcmp(cur_hash, state->hash, OTP_HASH_SIZE);
154 memcpy(state
[all...]
H A Dmech-otp.c27 &request->state) != 0) {
34 if (--request->state.seq < 1) {
50 digest_name(request->state.algo),
51 request->state.seq, request->state.seed);
138 struct otp_state *state = &request->state; local
151 otp_next_hash(state->algo, hash, cur_hash);
153 ret = memcmp(cur_hash, state->hash, OTP_HASH_SIZE);
160 memcpy(state
[all...]
/dovecot/src/lib-sasl/
H A Dmech-login.c15 enum login_state state; member in struct:login_dsasl_client
27 if (client->state == STATE_PASS) {
31 client->state++;
52 switch (client->state) {
/dovecot/src/lib/
H A Dtest-malloc-overflow.c126 enum fatal_test_state state; local
128 state = fatal_malloc_overflow_multiply(&stage);
129 if (state != FATAL_TEST_FINISHED)
130 return state;
/dovecot/src/replication/replicator/
H A Dreplicator-queue.h11 /* dsync state for incremental syncing */
12 char *state; member in struct:replicator_user
13 /* last time this user's state was updated */
/dovecot/src/doveadm/dsync/
H A Ddsync-mailbox-state.c8 #include "dsync-mailbox-state.h"
29 struct dsync_mailbox_state *state; local
40 while (hash_table_iterate(iter, states, &guid, &state)) {
41 buffer_append(buf, state->mailbox_guid,
42 sizeof(state->mailbox_guid));
43 put_uint32(buf, state->last_uidvalidity);
44 put_uint32(buf, state->last_common_uid);
45 put_uint32(buf, state->last_common_modseq & 0xffffffffU);
46 put_uint32(buf, state->last_common_modseq >> 32);
47 put_uint32(buf, state
80 struct dsync_mailbox_state *state; local
[all...]
H A Ddsync-brain-mails.c233 struct dsync_mailbox_state state; local
242 i_zero(&state);
243 memcpy(state.mailbox_guid, brain->local_dsync_box.mailbox_guid,
244 sizeof(state.mailbox_guid));
245 state.last_uidvalidity = brain->local_dsync_box.uid_validity;
248 state.last_common_uid = brain->local_dsync_box.uid_next-1;
249 state.last_common_modseq =
251 state.last_common_pvt_modseq =
253 state.last_messages_count =
258 &state
346 struct dsync_mailbox_state state; local
[all...]
H A Ddsync-brain.h48 /* Use saved state to find out what has changed. */
87 /* Input state for DSYNC_BRAIN_SYNC_TYPE_STATE */
88 const char *state; member in struct:dsync_brain_settings
107 /* Returns the current sync state string, which can be given as parameter to
/dovecot/src/lib-mail/
H A Distream-dot.c13 unsigned int state; member in struct:dot_istream
14 /* state didn't actually start with \r */
16 /* state didn't contain \n either (only at the beginnign of stream) */
77 else if (dstream->state > 1)
81 if (dstream->state != 4)
82 dstream->state = 0;
84 /* \r\n.\r seen, go back to \r state */
85 dstream->state = 1;
93 dstream->state = 2;
140 if (ret == -1 && dstream->state !
[all...]
H A Dmessage-snippet.c24 enum snippet_state state; member in struct:snippet_context
48 switch (ctx->state) {
51 ctx->state = SNIPPET_STATE_QUOTED;
54 ctx->state = SNIPPET_STATE_NORMAL;
69 ctx->state = SNIPPET_STATE_NEWLINE;
87 ctx->state = SNIPPET_STATE_NEWLINE;
H A Dostream-dot.c19 enum dot_ostream_state state; member in struct:dot_ostream
28 if (dstream->state == STREAM_STATE_DONE)
40 if (dstream->state == STREAM_STATE_CRLF &&
48 dstream->state = STREAM_STATE_DONE;
85 i_assert(dstream->state != STREAM_STATE_DONE);
110 switch (dstream->state) {
115 dstream->state = STREAM_STATE_CRLF;
120 dstream->state = STREAM_STATE_CR;
130 dstream->state = STREAM_STATE_CRLF;
133 dstream->state
[all...]
H A Dqp-decoder.c29 enum qp_state state; member in struct:qp_decoder
64 qp->state = STATE_EQUALS;
67 qp->state = STATE_CR;
78 qp->state = STATE_WHITESPACE;
93 switch (qp->state) {
126 qp->state = STATE_TEXT;
141 switch (qp->state) {
153 qp->state = STATE_CR;
173 qp->state = STATE_TEXT;
183 qp->state
[all...]
/dovecot/src/lib-master/
H A Dipc-client.c38 enum ipc_client_cmd_state state; local
48 state = IPC_CLIENT_CMD_STATE_REPLY;
51 state = IPC_CLIENT_CMD_STATE_OK;
54 state = IPC_CLIENT_CMD_STATE_ERROR;
60 state = IPC_CLIENT_CMD_STATE_ERROR;
64 cmds[0].callback(state, line, cmds[0].context);
65 if (state != IPC_CLIENT_CMD_STATE_REPLY)
/dovecot/src/lmtp/
H A Dcommands.c91 client->state.added_headers_local =
93 client->state.added_headers_proxy =
94 client->state.added_headers_local + proxy_offset;
102 struct client_state *state = &client->state; local
106 client->state.data_end_timeval = ioloop_timeval;
109 input_msg = iostream_temp_finish(&state->mail_data_output,
119 state->added_headers_local,
120 strlen(state->added_headers_local));
130 state
159 struct client_state *state = &client->state; local
[all...]
H A Dclient.h40 struct client_state state; member in struct:client
/dovecot/src/imap/
H A Dimap-client-hibernate.c13 #include "imap-state.h"
44 const buffer_t *state, int fd_notify)
102 base64_encode(state->data, state->used, cmd);
151 const buffer_t *state, int fd_notify, int *fd_r)
158 i_assert(state->used > 0);
171 imap_hibernate_write_cmd(client, cmd, state, fd_notify);
195 buffer_t *state; local
208 state = buffer_create_dynamic(default_pool, 1024);
209 ret = imap_state_export_internal(client, state,
43 imap_hibernate_write_cmd(struct client *client, string_t *cmd, const buffer_t *state, int fd_notify) argument
150 imap_hibernate_process_send(struct client *client, const buffer_t *state, int fd_notify, int *fd_r) argument
[all...]
/dovecot/src/imap-hibernate/
H A Dimap-client.h21 const unsigned char *state; member in struct:imap_client_state
31 imap_client_create(int fd, const struct imap_client_state *state);
/dovecot/src/submission/
H A Dsubmission-client.h25 struct client_state state; member in struct:client
/dovecot/src/lib-otp/
H A Dotp-parse.c147 struct otp_state *state)
162 state->algo = algo;
165 if (str_parse_int(s, &state->seq, &p) < 0 || !IS_LWS(*p))
170 state->seed[i++] = i_tolower(*p++);
171 state->seed[i] = 0;
232 int otp_parse_dbentry(const char *text, struct otp_state *state) argument
237 ret = otp_read_new_params(text, &end, state);
244 return otp_read_hex(end, &end, state->hash);
247 const char *otp_print_dbentry(const struct otp_state *state) argument
249 return t_strdup_printf("%s %d %s %s", digest_name(state
146 otp_read_new_params(const char *data, const char **endptr, struct otp_state *state) argument
[all...]
/dovecot/src/lib-storage/index/pop3c/
H A Dpop3c-mail.c122 pop3c_mail_prefetch_done(enum pop3c_command_state state, argument
127 switch (state) {
/dovecot/src/login-common/
H A Dlogin-proxy-state.c8 #include "login-proxy-state.h"
26 static int login_proxy_state_notify_open(struct login_proxy_state *state);
45 struct login_proxy_state *state; local
47 state = i_new(struct login_proxy_state, 1);
48 state->pool = pool_alloconly_create("login proxy state", 1024);
49 hash_table_create(&state->hash, state->pool, 0,
51 state->notify_path = p_strdup(state
56 login_proxy_state_close(struct login_proxy_state *state) argument
63 struct login_proxy_state *state = *_state; local
83 login_proxy_state_get(struct login_proxy_state *state, const struct ip_addr *ip, in_port_t port) argument
102 login_proxy_state_reopen(struct login_proxy_state *state) argument
108 login_proxy_state_notify_open(struct login_proxy_state *state) argument
126 login_proxy_state_try_notify(struct login_proxy_state *state, const char *user) argument
160 login_proxy_state_notify(struct login_proxy_state *state, const char *user) argument
[all...]
/dovecot/src/master/
H A Dsd-daemon.c328 int sd_notify(int unset_environment, const char *state) { argument
338 if (!state) {
365 iovec.iov_base = (char*) state;
366 iovec.iov_len = strlen(state);
/dovecot/src/doveadm/
H A Ddoveadm-proxy.c81 static void cmd_proxy_list_callback(enum ipc_client_cmd_state state, argument
86 switch (state) {
125 static void cmd_proxy_kick_callback(enum ipc_client_cmd_state state, argument
128 switch (state) {

Completed in 76 milliseconds

1234