Searched defs:config (Results 1 - 15 of 15) sorted by relevance

/dovecot/src/plugins/push-notification/
H A Dpush-notification-driver-dlog.c13 push_notification_driver_dlog_init(struct push_notification_driver_config *config, argument
21 if (config->raw_config != NULL) {
23 config->raw_config);
H A Dpush-notification-event-messageappend.c56 struct push_notification_event_messageappend_config *config = local
57 (struct push_notification_event_messageappend_config *)ec->config;
61 if (config->flags == 0) {
73 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_TO) != 0 &&
79 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_FROM) != 0 &&
85 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_SUBJECT) != 0 &&
91 (config->flags & PUSH_NOTIFICATION_MESSAGE_BODY_SNIPPET) != 0 &&
H A Dpush-notification-event-messagenew.c66 struct push_notification_event_messagenew_config *config = local
67 (struct push_notification_event_messagenew_config *)ec->config;
73 if (config->flags == 0) {
87 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_TO) != 0 &&
93 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_FROM) != 0 &&
99 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_SUBJECT) != 0 &&
105 (config->flags & PUSH_NOTIFICATION_MESSAGE_HDR_DATE) != 0 &&
112 (config->flags & PUSH_NOTIFICATION_MESSAGE_BODY_SNIPPET) != 0 &&
H A Dpush-notification-events.c47 const char *event_name, void *config)
58 if ((config == NULL) &&
60 config = event->init.default_config();
64 ec->config = config;
46 push_notification_event_init(struct push_notification_driver_txn *dtxn, const char *event_name, void *config) argument
H A Dpush-notification-event-flagsclear.c58 struct push_notification_event_flagsclear_config *config = local
59 (struct push_notification_event_flagsclear_config *)ec->config;
69 if (config->store_old == TRUE) {
86 struct push_notification_event_flagsclear_config *config = local
87 (struct push_notification_event_flagsclear_config *)ec->config;
109 if (config->store_old == TRUE) {
121 struct push_notification_event_flagsclear_config *config = local
122 (struct push_notification_event_flagsclear_config *)ec->config;
141 if (config->store_old == TRUE) {
H A Dpush-notification-event-flagsset.c80 struct push_notification_event_flagsset_config *config = local
81 (struct push_notification_event_flagsset_config *)ec->config;
100 if (!config->hide_deleted &&
106 if (!config->hide_seen &&
H A Dpush-notification-drivers.c51 struct push_notification_driver_config *config; local
53 config = t_new(struct push_notification_driver_config, 1);
54 config->raw_config = p;
56 hash_table_create(&config->config, unsafe_data_stack_pool, 0,
60 return config;
74 hash_table_update(config->config, key, value);
77 return config;
91 /* <driver>[:<driver config>] */
107 struct push_notification_driver_config *config; local
[all...]
H A Dpush-notification-drivers.h27 int (*init)(struct push_notification_driver_config *config,
54 HASH_TABLE_TYPE(push_notification_config) config; member in struct:push_notification_driver_config
H A Dpush-notification-events.h18 /* Return the default config for an event (or NULL if config is
92 void *config; member in struct:push_notification_event_config
116 const char *event_name, void *config);
H A Dpush-notification-driver-ox.c60 struct push_notification_driver_ox_config *config)
69 http_set.max_attempts = config->http_max_retries+1;
70 http_set.request_timeout_msecs = config->http_timeout_msecs;
77 push_notification_driver_ox_init(struct push_notification_driver_config *config, argument
84 /* Valid config keys: cache_lifetime, url */
85 tmp = hash_table_lookup(config->config, (const char *)"url");
100 hash_table_lookup(config->config, (const char *)"user_from_metadata") != NULL;
104 tmp = hash_table_lookup(config
59 push_notification_driver_ox_init_global(struct mail_user *user, struct push_notification_driver_ox_config *config) argument
194 struct push_notification_event_messagenew_config *config; local
[all...]
/dovecot/src/lib-imap-urlauth/
H A Dimap-urlauth.c33 const struct imap_urlauth_config *config)
38 i_assert(*config->url_host != '\0');
42 uctx->url_host = i_strdup(config->url_host);
43 uctx->url_port = config->url_port;
45 if (config->access_anonymous)
48 uctx->access_user = i_strdup(config->access_user);
49 uctx->access_service = i_strdup(config->access_service);
50 uctx->access_anonymous = config->access_anonymous;
51 if (config->access_applications != NULL &&
52 *config
32 imap_urlauth_init(struct mail_user *user, const struct imap_urlauth_config *config) argument
[all...]
/dovecot/src/submission/
H A Dsubmission-client.c164 struct imap_urlauth_config config; local
166 i_zero(&config);
167 config.url_host = client->set->imap_urlauth_host;
168 config.url_port = client->set->imap_urlauth_port;
169 config.socket_path = t_strconcat(client->user->set->base_dir,
171 config.session_id = client->session_id;
172 config.access_anonymous = client->user->anonymous;
173 config.access_user = client->user->username;
174 config.access_service = "submission";
175 config
[all...]
/dovecot/src/master/
H A Dservice.h138 struct service *config; member in struct:service_list
/dovecot/src/imap-urlauth/
H A Dimap-urlauth-worker.c552 struct imap_urlauth_config config; local
636 i_zero(&config);
637 config.url_host = set->imap_urlauth_host;
638 config.url_port = set->imap_urlauth_port;
639 config.access_user = client->access_user;
640 config.access_service = client->access_service;
641 config.access_anonymous = client->access_anonymous;
642 config.access_applications =
645 client->urlauth_ctx = imap_urlauth_init(client->mail_user, &config);
/dovecot/src/imap/
H A Dimap-client.c60 struct imap_urlauth_config config; local
62 i_zero(&config);
63 config.url_host = client->set->imap_urlauth_host;
64 config.url_port = client->set->imap_urlauth_port;
65 config.socket_path = t_strconcat(client->user->set->base_dir,
67 config.session_id = client->session_id;
68 config.access_user = client->user->username;
69 config.access_service = "imap";
70 config.access_anonymous = client->user->anonymous;
72 client->urlauth_ctx = imap_urlauth_init(client->user, &config);
[all...]

Completed in 40 milliseconds