| /dovecot/src/login-common/ |
| H A D | login-proxy.h | 26 const char *host; member in struct:login_proxy_settings 39 /* Create a proxy to given host. Returns NULL if failed. Given callback is 47 /* Return TRUE if host/port/destuser combination points to same as current 49 bool login_proxy_is_ourself(const struct client *client, const char *host,
|
| /dovecot/src/director/ |
| H A D | user-directory.h | 19 struct mail_host *host; member in struct:user 48 struct mail_host *host, time_t timestamp); 52 /* Remove all users that have pointers to given host */ 54 struct mail_host *host);
|
| H A D | mail-host.h | 11 struct mail_host *host; member in struct:mail_vhost 20 /* temporary user -> host associations */ 40 /* host was recently changed and ring hasn't synced yet since */ 59 const char *mail_host_get_tag(const struct mail_host *host); 60 void mail_host_set_tag(struct mail_host *host, const char *tag_name); 61 void mail_host_set_down(struct mail_host *host, bool down, time_t timestamp, 63 void mail_host_set_vhost_count(struct mail_host *host, unsigned int vhost_count, 65 void mail_host_remove(struct mail_host *host);
|
| H A D | test-user-directory.c | 6 #include "mail-host.h" 45 struct mail_host *host = t_new(struct mail_host, 1); local 50 (void)user_directory_add(dir, 1, host, ioloop_time + count+1); 53 (void)user_directory_add(dir, i+2, host, ioloop_time + i); 63 struct mail_host *host = t_new(struct mail_host, 1); local 70 (void)user_directory_add(dir, i+1, host, ioloop_time - i); 79 struct mail_host *host = t_new(struct mail_host, 1); local 90 (void)user_directory_add(dir, i+1, host, timestamp);
|
| H A D | director-host.c | 6 #include "director-host.h" 29 struct director_host *host; local 33 host = i_new(struct director_host, 1); 34 host->dir = dir; 35 host->refcount = 1; 36 host->ip = *ip; 37 host->ip_str = i_strdup(net_ip2addr(&host->ip)); 38 host->port = port; 39 host 51 struct director_host *host = *_host; local 59 director_host_ref(struct director_host *host) argument 65 director_host_unref(struct director_host *host) argument 87 director_host_restarted(struct director_host *host) argument 99 struct director_host *host; local 154 director_host_add_string(struct director *dir, const char *host) argument [all...] |
| H A D | director-request.c | 7 #include "mail-host.h" 190 struct mail_host *host; local 216 if (!user_directory_user_is_near_expiring(user->host->tag->users, user)) 221 host = mail_host_get_by_hash(dir->mail_hosts, user->username_hash, 222 user->host->tag->name); 230 if (user->host == host) { 233 dir_debug("request: %u would be weak, but host doesn't change", request->username_hash); 256 1. Send a USER-WEAK notification to all directors with the new host. 258 and host, bu 281 struct mail_host *host; local [all...] |
| H A D | login-connection.c | 14 #include "mail-host.h" 137 login_host_callback(const struct mail_host *host, const char *hostname, argument 145 if (host == NULL) { 153 i_error("director: User %s host lookup failed: %s", 158 login_host_request_is_self(request, &host->ip)) { 170 str_append(str, host->ip_str); 174 str_append(str, host->ip_str); 191 bool proxy = FALSE, host = FALSE; local 222 else if (strncmp(*args, "host=", 5) == 0) 223 host [all...] |
| H A D | main.c | 18 #include "director-host.h" 21 #include "mail-host.h" 163 struct director_host *host; local 165 host = director_host_lookup_ip(director, ip); 166 if (host == NULL || host->removed) {
|
| H A D | user-directory.c | 8 #include "mail-host.h" 58 i_assert(user->host->user_count > 0); 59 user->host->user_count--; 145 struct mail_host *host, time_t timestamp) 155 user->host = host; 156 user->host->user_count++; 179 struct mail_host *host) 186 if (user->host == host) 144 user_directory_add(struct user_directory *dir, unsigned int username_hash, struct mail_host *host, time_t timestamp) argument 178 user_directory_remove_host(struct user_directory *dir, struct mail_host *host) argument [all...] |
| /dovecot/src/lib/ |
| H A D | test-net.c | 92 const char *host; local 97 test_assert(net_str2hostport("[1::4]", 0, &host, &port) == 0 && 98 strcmp(host, "1::4") == 0 && port == 0); 99 test_assert(net_str2hostport("[1::4]", 1234, &host, &port) == 0 && 100 strcmp(host, "1::4") == 0 && port == 1234); 101 test_assert(net_str2hostport("[1::4]:78", 1234, &host, &port) == 0 && 102 strcmp(host, "1::4") == 0 && port == 78); 103 host = NULL; 104 test_assert(net_str2hostport("[1::4]:", 1234, &host, &port) < 0 && host [all...] |
| H A D | uri-util.h | 26 struct uri_host host; member in struct:uri_authority 79 character is not valid for a host name, and -1 in case of error. The 81 checking the presence of a valid host name. The result is allocated from 86 /* parse the URI 'reg-name' part as an Internet host name, which is a 89 successful, 0 if the first character is not valid for a host name, 91 to use this function for merely checking the presence of a valid host 96 /* parse the URI 'host' syntax, which is either an IP address literal or 97 a an Internet host name, as defined in Section 3.5 of RFC 1034 and 100 host name, and -1 in case of error. The provided host struc [all...] |
| H A D | guid.c | 39 void guid_128_host_hash_get(const char *host, argument 44 sha1_get_digest(host, strlen(host), full_hash);
|
| H A D | iostream-rawlog.c | 166 const char *host; local 172 /* tcp:host:port */ 179 if (net_str2hostport(path, 0, &host, &port) < 0 || port == 0) 182 ret = net_gethostbyname(host, &ips, &ips_count); 184 i_error("net_gethostbyname(%s) failed: %s", host,
|
| /dovecot/src/lib-http/ |
| H A D | http-url.h | 13 struct uri_host host; member in struct:http_url
|
| /dovecot/src/old-stats/ |
| H A D | stats-carbon.c | 80 const char *host; local 85 &host, &port) < 0 || 86 net_addr2ip(host, &ip) < 0) { 116 if (net_ipport2str(&ip, port, &host) < 0) 118 ctx->endpoint = p_strdup(ctx->pool, host);
|
| /dovecot/src/lib-imap/ |
| H A D | imap-url.h | 8 struct uri_host host; member in struct:imap_url
|
| /dovecot/src/lib-sasl/ |
| H A D | mech-oauthbearer.c | 12 const char *host; member in struct:oauthbearer_dsasl_client 100 if (client->host != NULL && *client->host != '\0') 101 str_printfa(str, "host=%s\x01", client->host); 149 if (strcmp(key, "host") == 0) { 151 client->host = p_strdup(_client->pool, value); 153 client->host = NULL;
|
| /dovecot/src/lib-smtp/ |
| H A D | smtp-server-transaction.c | 130 const char *host, *secstr, *rcpt_to = NULL; local 145 host = ""; 147 host = net_ip2addr(&conn->remote_ip); 148 if (host[0] != '\0') { 150 str_append(str, host);
|
| /dovecot/src/lib-storage/index/pop3c/ |
| H A D | pop3c-client.h | 26 const char *host; member in struct:pop3c_client_settings
|
| /dovecot/src/auth/ |
| H A D | passdb-vpopmail.c | 156 const char *host = net_ip2addr(&request->remote_ip); local 158 if (host[0] != '\0' && IPADDR_IS_V4(&request->remote_ip)) { 166 "TCPREMOTEIP=%s", host);
|
| H A D | passdb-pam.c | 240 const char *host; local 243 host = net_ip2addr(&request->remote_ip); 244 if (host[0] != '\0') 245 (void)pam_set_item(pamh, PAM_RHOST, host);
|
| /dovecot/src/lib-ssl-iostream/ |
| H A D | iostream-openssl-common.c | 105 static bool openssl_hostname_equals(const char *ssl_name, const char *host) argument 109 if (strcmp(ssl_name, host) == 0) 115 p = strchr(host, '.');
|
| /dovecot/src/doveadm/ |
| H A D | doveadm-mail-server.c | 222 so just continue with the default host */ 230 else if (strncmp(fields[i], "host=", 5) == 0) 248 *error_r = t_strdup_printf("%s: Proxy is missing destination host", 270 const char *user, *host; local 277 ret = doveadm_mail_server_user_get_host(ctx, input, &user, &host, error_r); 290 server = doveadm_server_get(ctx, host);
|
| H A D | doveadm-util.c | 103 doveadm_tcp_connect_port(const char *host, in_port_t port) argument 110 ret = net_gethostbyname(host, &ips, &ips_count); 112 i_fatal("Lookup of host %s failed: %s", 113 host, net_gethosterror(ret)); 126 const char *host; local 129 if (net_str2hostport(target, default_port, &host, &port) < 0) { 133 return doveadm_tcp_connect_port(host, port);
|
| /dovecot/src/lib-dns/ |
| H A D | dns-lookup.c | 192 int dns_lookup(const char *host, const struct dns_lookup_settings *set, argument 200 if (dns_client_lookup(client, host, callback, context, lookup_r) < 0) { 372 int dns_client_lookup(struct dns_client *client, const char *host, argument 376 const char *cmd = t_strconcat("IP\t", host, "\n", NULL);
|