/dovecot/src/lib-fs/ |
H A D | istream-metawrap.h | 5 metawrap_callback_t(const char *key, const char *value, void *context); 12 metawrap_callback_t *callback, void *context);
|
H A D | ostream-metawrap.h | 6 void (*write_callback)(void *), void *context);
|
/dovecot/src/indexer/ |
H A D | indexer.h | 5 typedef void indexer_status_callback_t(int percentage, void *context);
|
H A D | indexer-client.h | 8 void indexer_client_status_callback(int percentage, void *context);
|
/dovecot/src/lib/ |
H A D | istream-seekable.h | 12 int (*fd_callback)(const char **path_r, void *context), 13 void *context) ATTR_NULL(4); 20 int (*fd_callback)(const char **path_r, void *context), 21 void *context) ATTR_NULL(4);
|
H A D | log-throttle.h | 16 log_throttle_callback_t(unsigned int new_events_count, void *context); 20 log_throttle_callback_t *callback, void *context); 21 #define log_throttle_init(set, callback, context) \ 23 CALLBACK_TYPECHECK(callback, void (*)(unsigned int, typeof(context))), \ 24 (log_throttle_callback_t *)callback, context)
|
H A D | memarea.h | 4 typedef void memarea_free_callback_t(void *context); 10 memarea_free_callback_t *callback, void *context); 11 #define memarea_init(data, size, callback, context) \ 13 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))), \ 14 (memarea_free_callback_t *)callback, context) 29 void memarea_free_callback_noop(void *context);
|
H A D | istream-callback.h | 17 typedef bool istream_callback_read_t(buffer_t *buf, void *context); 20 i_stream_create_callback(istream_callback_read_t *callback, void *context); 21 #define i_stream_create_callback(callback, context) \ 23 CALLBACK_TYPECHECK(callback, bool (*)(buffer_t *buf, typeof(context))), \ 24 context)
|
H A D | sha3.h | 58 void sha3_256_init(void *context); 59 void sha3_256_result(void *context, 64 void sha3_512_init(void *context); 65 void sha3_512_result(void *context, 70 void sha3_loop(void *context, const void *data, size_t len);
|
H A D | child-wait.h | 12 void *context); 16 void *context) ATTR_NULL(3); 17 #define child_wait_new_with_pid(pid, callback, context) \ 20 const struct child_wait_status *status, typeof(context))), \ 21 (child_wait_callback_t *)callback, context) 22 #define child_wait_new(callback, context) \ 23 child_wait_new_with_pid((pid_t)-1, callback, context)
|
H A D | ioloop.h | 33 typedef void io_callback_t(void *context); 34 typedef void timeout_callback_t(void *context); 55 io_callback_t *callback, void *context) ATTR_NULL(5); 56 #define io_add(fd, condition, callback, context) \ 58 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))), \ 59 (io_callback_t *)callback, context) 63 io_callback_t *callback, void *context) ATTR_NULL(5); 64 #define io_add_to(ioloop, fd, condition, callback, context) \ 66 CALLBACK_TYPECHECK(callback, void (*)(typeof(context))), \ 67 (io_callback_t *)callback, context) [all...] |
H A D | lib-signals.h | 18 typedef void signal_handler_t(const siginfo_t *si, void *context); 39 signal_handler_t *handler, void *context) 44 signal_handler_t *handler, void *context) 50 signal_handler_t *handler, void *context);
|
/dovecot/src/auth/ |
H A D | auth-policy.c | 233 void auth_policy_finish(struct policy_lookup_ctx *context) argument 235 if (context->parser != NULL) { 237 (void)json_parser_deinit(&context->parser, &error); 239 if (context->http_request != NULL) 240 http_client_request_abort(&context->http_request); 241 if (context->request != NULL) 242 auth_request_unref(&context->request); 246 void auth_policy_parse_response(struct policy_lookup_ctx *context) argument 252 while((ret = json_parse_next(context->parser, &type, &value)) == 1) { 253 if (context 339 struct policy_lookup_ctx *context = ctx; local 375 auth_policy_send_request(struct policy_lookup_ctx *context) argument 445 auth_policy_create_json(struct policy_lookup_ctx *context, const char *password, bool include_success) argument 510 auth_policy_url(struct policy_lookup_ctx *context, const char *command) argument 521 auth_policy_check(struct auth_request *request, const char *password, auth_policy_callback_t cb, void *context) argument [all...] |
H A D | db-oauth2.h | 11 void *context); 28 void *context; member in struct:db_oauth2_request 38 void db_oauth2_lookup(struct db_oauth2 *db, struct db_oauth2_request *req, const char *token, struct auth_request *request, db_oauth2_lookup_callback_t *callback, void *context); 39 #define db_oauth2_lookup(db, req, token, request, callback, context) \ 41 CALLBACK_TYPECHECK(callback, void(*)(struct db_oauth2_request *, enum passdb_result, const char*, typeof(context))), \ 42 request, (db_oauth2_lookup_callback_t*)callback, (void*)context)
|
/dovecot/src/lib-dns/ |
H A D | dns-lookup.h | 36 void *context); 43 dns_lookup_callback_t *callback, void *context, 45 #define dns_lookup(host, set, callback, context, lookup_r) \ 48 const struct dns_lookup_result *, typeof(context))), \ 49 set, (dns_lookup_callback_t *)callback, context, lookup_r) 52 dns_lookup_callback_t *callback, void *context, 54 #define dns_lookup_ptr(host, set, callback, context, lookup_r) \ 57 const struct dns_lookup_result *, typeof(context))), \ 58 set, (dns_lookup_callback_t *)callback, context, lookup_r) 71 dns_lookup_callback_t *callback, void *context, [all...] |
/dovecot/src/login-common/ |
H A D | access-lookup.h | 4 typedef void access_lookup_callback_t(bool success, void *context); 8 access_lookup_callback_t *callback, void *context);
|
/dovecot/src/replication/aggregator/ |
H A D | notify-connection.h | 7 void notify_connection_sync_callback(bool success, void *context);
|
/dovecot/src/imap-hibernate/ |
H A D | imap-master-connection.h | 7 imap_master_connection_send_callback_t(void *context, struct ostream *output); 9 imap_master_connection_read_callback_t(void *context, const char *reply); 15 void *context,
|
/dovecot/src/lib-mail/ |
H A D | istream-attachment-extractor.h | 37 void *context); 39 int (*open_temp_fd)(void *context); 43 const char **error_r, void *context); 49 const char **error, void *context); 55 void *context) ATTR_NULL(3);
|
H A D | message-parser.h | 40 void *context); 78 void *context) ATTR_NULL(4); 79 #define message_parser_parse_header(ctx, hdr_size, callback, context) \ 83 struct message_header_line *, typeof(context))), \ 84 (message_part_header_callback_t *)callback, context) 91 void *context) ATTR_NULL(3); 92 #define message_parser_parse_body(ctx, callback, context) \ 95 (void *)((uintptr_t)context + CALLBACK_TYPECHECK(callback, \ 97 struct message_header_line *, typeof(context)))))
|
/dovecot/src/lib-smtp/ |
H A D | smtp-client-command.h | 35 void *context); 40 smtp_client_command_callback_t *callback, void *context); 41 #define smtp_client_command_new(conn, flags, callback, context) \ 44 const struct smtp_reply *reply, typeof(context))), \ 45 (smtp_client_command_callback_t *)callback, context) 85 void (*callback)(void *context), void *context); 88 void (*callback)(void *context), void *context); 108 void *context); [all...] |
/dovecot/src/lib-settings/ |
H A D | settings.h | 31 void *context); 35 void *context, const char **errormsg); 45 settings_section_callback_t *sect_callback, void *context, 48 #define settings_read(path, section, callback, sect_callback, context, error_r) \ 51 const char *, const char *, typeof(context))) + \ 53 const char *, const char *, typeof(context), \ 56 (settings_section_callback_t *)sect_callback, context, error_r) 57 #define settings_read_nosection(path, callback, context, error_r) \ 60 const char *, const char *, typeof(context))), \ 61 NULL, (settings_callback_t *)callback, NULL, context, error_ [all...] |
/dovecot/src/lib-oauth2/ |
H A D | oauth2.h | 81 void *context); 82 #define oauth2_token_validation_start(set, input, callback, context) \ 84 CALLBACK_TYPECHECK(callback, void(*)(struct oauth2_token_validation_result*, typeof(context))), \ 85 (oauth2_token_validation_callback_t*)callback, (void*)context); 91 void *context); 92 #define oauth2_introspection_start(set, input, callback, context) \ 94 CALLBACK_TYPECHECK(callback, void(*)(struct oauth2_introspection_result*, typeof(context))), \ 95 (oauth2_introspection_callback_t*)callback, (void*)context); 101 void *context); 102 #define oauth2_refresh_start(set, input, callback, context) \ [all...] |
/dovecot/src/imap/ |
H A D | mail-storage-callbacks.c | 9 const char *text, void *context) 11 struct client *client = context; 26 const char *text, void *context) 28 struct client *client = context; 8 notify_ok(struct mailbox *mailbox ATTR_UNUSED, const char *text, void *context) argument 25 notify_no(struct mailbox *mailbox ATTR_UNUSED, const char *text, void *context) argument
|
/dovecot/src/lib-http/ |
H A D | http-server.h | 55 typedef void (*http_server_tunnel_callback_t)(void *context, 118 http_server_tunnel_callback_t callback, void *context); 183 void (*callback)(void *), void *context); 185 output, max_size, callback, context) \ 187 (void(*)(void*))callback, context + \ 188 CALLBACK_TYPECHECK(callback, void (*)(typeof(context)))) 194 void (*callback)(void *), void *context); 196 buffer, max_size, callback, context) \ 198 (void(*)(void*))callback, context + \ 199 CALLBACK_TYPECHECK(callback, void (*)(typeof(context)))) [all...] |