/dovecot/src/login-common/ |
H A D | access-lookup.c | 7 #include "access-lookup.h" 26 static void access_lookup_input(struct access_lookup *lookup) argument 32 ret = read(lookup->fd, buf, sizeof(buf)); 34 i_error("read(%s) failed: %m", lookup->path); 42 i_error("access(%s): Invalid input", lookup->path); 45 lookup->refcount++; 46 lookup->callback(success, lookup->context); 47 if (lookup->refcount > 1) 48 access_lookup_destroy(&lookup); 52 access_lookup_timeout(struct access_lookup *lookup) argument 67 struct access_lookup *lookup; local 103 struct access_lookup *lookup = *_lookup; local [all...] |
H A D | access-lookup.h | 9 void access_lookup_destroy(struct access_lookup **lookup);
|
H A D | main.c | 17 #include "access-lookup.h" 62 static void login_access_lookup_next(struct login_access_lookup *lookup); 182 static void login_access_lookup_free(struct login_access_lookup *lookup) argument 184 io_remove(&lookup->io); 185 if (lookup->access != NULL) 186 access_lookup_destroy(&lookup->access); 187 if (lookup->conn.fd != -1) { 188 if (close(lookup->conn.fd) < 0) 193 p_strsplit_free(default_pool, lookup->sockets); 194 i_free(lookup); 199 struct login_access_lookup *lookup = context; local 212 login_access_lookup_next(struct login_access_lookup *lookup) argument 229 client_input_error(struct login_access_lookup *lookup) argument 250 struct login_access_lookup *lookup; local [all...] |
/dovecot/src/lib-dns/ |
H A D | dns-lookup.c | 10 #include "dns-lookup.h" 61 struct dns_lookup *lookup, *next; local 73 lookup = client->head; 75 while (lookup != NULL) { 76 next = lookup->next; 77 lookup->callback(&result, lookup->context); 78 dns_lookup_free(&lookup); 79 lookup = next; 83 static int dns_lookup_input_line(struct dns_lookup *lookup, cons argument 126 dns_lookup_save_msecs(struct dns_lookup *lookup) argument 142 struct dns_lookup *lookup = client->head; local 184 dns_lookup_timeout(struct dns_lookup *lookup) argument 232 struct dns_lookup *lookup = *_lookup; local 251 dns_lookup_abort(struct dns_lookup **lookup) argument 256 dns_lookup_switch_ioloop(struct dns_lookup *lookup) argument 334 struct dns_lookup *lookup; local 392 struct dns_lookup *lookup; local [all...] |
H A D | dns-lookup.h | 15 /* ioloop to run the lookup on (defaults to current_ioloop) */ 25 /* how many milliseconds the lookup took. */ 28 /* for IP lookup: */ 31 /* for PTR lookup: */ 38 /* Do asynchronous DNS lookup via dns-client UNIX socket. Returns 0 if lookup 59 /* Abort the DNS lookup without calling the callback. */ 60 void dns_lookup_abort(struct dns_lookup **lookup); 62 void dns_lookup_switch_ioloop(struct dns_lookup *lookup); 68 /* Connect immediately to the dns-lookup socke [all...] |
/dovecot/src/lib-ssl-iostream/ |
H A D | iostream-ssl-context-cache.c | 57 struct ssl_iostream_context_cache lookup = { local 70 ssl_iostream_settings_drop_stream_only(&lookup.set); 72 ctx = hash_table_lookup(ssl_iostream_contexts, &lookup); 81 if (ssl_iostream_context_init_server(&lookup.set, &ctx, error_r) < 0) 84 if (ssl_iostream_context_init_client(&lookup.set, &ctx, error_r) < 0) 92 &cache->set, &lookup.set); 117 struct ssl_iostream_context_cache *lookup; local 124 while (hash_table_iterate(iter, ssl_iostream_contexts, &lookup, &ctx))
|
/dovecot/src/auth/ |
H A D | userdb.h | 59 void (*lookup)(struct auth_request *auth_request, member in struct:userdb_module_interface
|
H A D | userdb.c | 34 if (old_iface != NULL && old_iface->lookup == NULL) { 137 if (iface == NULL || iface->lookup == NULL) { 144 if (iface->lookup == NULL) {
|
H A D | auth-worker-client.c | 105 changed by this lookup. */ 142 /* export only the fields changed by this lookup, so the 336 /* lookup credentials */ 364 i_error("BUG: PASSL lookup not supported by given passdb"); 446 /* export only the fields changed by this lookup */ 479 /* lookup user */ 506 lookup(auth_request, lookup_user_callback);
|
/dovecot/src/lib-dict/ |
H A D | dict-client.c | 26 /* Abort dict lookup after this many seconds. */ 28 /* When dict lookup timeout is reached, wait a bit longer if the last dict 31 /* Log a warning if dict lookup takes longer than this many milliseconds. */ 60 dict_lookup_callback_t *lookup; member in struct:client_dict_cmd::__anon82 952 "dict-client: Invalid lookup '%s' reply: %c%s", 966 i_warning("read(%s): dict lookup took %s: %s", 972 cmd->api_callback.lookup(&result, cmd->api_callback.context); 988 cmd->api_callback.lookup = callback; 1004 struct client_dict_sync_lookup *lookup = context; local 1006 lookup 1016 struct client_dict_sync_lookup lookup; local [all...] |
H A D | dict-private.h | 14 int (*lookup)(struct dict *dict, pool_t pool, member in struct:dict_vfuncs
|
H A D | dict-fail.c | 115 .lookup = dict_fail_lookup,
|
H A D | dict-memcached.c | 370 .lookup = memcached_dict_lookup,
|
H A D | dict.c | 128 return dict->v.lookup(dict, pool, key, value_r, error_r);
|
H A D | dict-file.c | 653 .lookup = file_dict_lookup,
|
H A D | dict-memcached-ascii.c | 669 .lookup = memcached_ascii_dict_lookup,
|
H A D | dict-redis.c | 815 .lookup = redis_dict_lookup,
|
/dovecot/src/replication/replicator/ |
H A D | replicator-queue.c | 201 struct replicator_sync_lookup *lookup; local 206 lookup = array_append_space(&queue->sync_lookups); 207 lookup->user = user; 208 lookup->callback = callback; 209 lookup->context = context; 210 lookup->wait_for_next_push = user->popped;
|
/dovecot/src/plugins/fts/ |
H A D | fts-api-private.h | 44 int (*lookup)(struct fts_backend *backend, struct mailbox *box, member in struct:fts_backend_vfuncs 67 args so that lookup() sees only tokens that can be directly
|
H A D | fts-api.c | 353 if (backend->v.lookup(backend, box, args, flags, result) < 0) 393 if (backend->v.lookup(backend, boxes[i], args,
|
/dovecot/src/lib-program-client/ |
H A D | program-client-remote.c | 14 #include "dns-lookup.h" 215 struct dns_lookup *lookup; member in struct:program_client_remote 493 pclient, &prclient->lookup); 591 if (prclient->lookup != NULL) 592 dns_lookup_switch_ioloop(prclient->lookup);
|
/dovecot/src/lib-dict-backend/ |
H A D | dict-cdb.c | 258 .lookup = cdb_dict_lookup,
|
H A D | dict-ldap.c | 420 pool_t oppool = pool_alloconly_create("ldap dict lookup", 64); 438 /* build lookup */ 465 .lookup = ldap_dict_lookup,
|
H A D | dict-db.c | 470 .lookup = db_dict_lookup,
|
/dovecot/src/lib-dict-extra/ |
H A D | dict-fs.c | 287 .lookup = fs_dict_lookup,
|