Searched refs:snippet (Results 1 - 8 of 8) sorted by relevance
/dovecot/src/lib-mail/ |
H A D | message-snippet.h | 4 /* Generate UTF-8 text snippet from the beginning of the given mail input 6 snippet is being generated. Returns 0 if ok, -1 if I/O error. 12 string_t *snippet);
|
H A D | message-snippet.c | 10 #include "message-snippet.h" 22 string_t *snippet; member in struct:snippet_context 66 if (str_len(ctx->snippet) > 1) 73 str_append_c(ctx->snippet, ' '); 83 str_append_n(ctx->snippet, data + i, count); 96 string_t *snippet) 107 pool = pool_alloconly_create("message snippet", 1024); 108 ctx.snippet = snippet; 94 message_snippet_generate(struct istream *input, unsigned int max_snippet_chars, string_t *snippet) argument
|
/dovecot/src/plugins/push-notification/ |
H A D | push-notification-event-messageappend.h | 15 const char *snippet; member in struct:push_notification_event_messageappend_data
|
H A D | push-notification-event-messagenew.h | 25 const char *snippet; member in struct:push_notification_event_messagenew_data
|
H A D | push-notification-event-messageappend.c | 37 if (data->snippet != NULL) { 38 i_debug("%s: Snippet [%s]", EVENT_NAME, data->snippet); 90 if ((data->snippet == NULL) && 93 /* [0] contains the snippet algorithm, skip over it */ 95 data->snippet = p_strdup(ptxn->pool, value + 1);
|
H A D | push-notification-event-messagenew.c | 47 if (data->snippet != NULL) { 48 i_debug("%s: Snippet [%s]", EVENT_NAME, data->snippet); 111 if ((data->snippet == NULL) && 114 /* [0] contains the snippet algorithm, skip over it */ 116 data->snippet = p_strdup(ptxn->pool, value + 1);
|
H A D | push-notification-driver-ox.c | 382 if (messagenew->snippet != NULL) { 383 str_append(str, ",\"snippet\":\""); 384 json_append_escaped(str, messagenew->snippet);
|
/dovecot/src/imap/ |
H A D | imap-fetch-body.c | 599 const char *snippet; local 603 ret = mail_get_special(mail, MAIL_FETCH_BODY_SNIPPET, &snippet); 608 snippet++; /* skip over snippet version byte */ 631 imap_append_string(ctx->state.cur_str, snippet);
|
Completed in 18 milliseconds