Mercurial > dovecot > core-2.2
comparison src/lib-master/master-service-settings.h @ 10952:30e2d65eb67a HEAD
config: Send client a services names that have more specific settings.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 19 Mar 2010 17:23:56 +0200 |
parents | f4486ab0ebdb |
children | fdb352eecdac |
comparison
equal
deleted
inserted
replaced
10951:edd11ffa467c | 10952:30e2d65eb67a |
---|---|
32 struct ip_addr local_ip, remote_ip; | 32 struct ip_addr local_ip, remote_ip; |
33 const char *local_host, *remote_host; | 33 const char *local_host, *remote_host; |
34 }; | 34 }; |
35 | 35 |
36 struct master_service_settings_output { | 36 struct master_service_settings_output { |
37 /* some settings for this service contain local/remote ip/host | 37 /* if service was not given for lookup, this contains names of services |
38 specific settings. */ | 38 that have more specific settings */ |
39 const char *const *specific_services; | |
40 | |
41 /* some settings for this service (or if service was not given, | |
42 all services) contain local/remote ip/host specific settings | |
43 (but this lookup didn't necessarily return any of them). */ | |
39 unsigned int service_uses_local:1; | 44 unsigned int service_uses_local:1; |
40 unsigned int service_uses_remote:1; | 45 unsigned int service_uses_remote:1; |
41 /* returned settings contain settings specific to given | 46 /* returned settings contain settings specific to given |
42 local/remote ip/host */ | 47 local/remote ip/host */ |
43 unsigned int used_local:1; | 48 unsigned int used_local:1; |