"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/indexer/indexer-queue.h" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

indexer-queue.h  (dovecot-2.3.16):indexer-queue.h  (dovecot-2.3.17)
#ifndef INDEXER_QUEUE_H #ifndef INDEXER_QUEUE_H
#define INDEXER_QUEUE_H #define INDEXER_QUEUE_H
#include "indexer.h" #include "indexer.h"
typedef void indexer_queue_callback_t(int status, void *context);
struct indexer_request { struct indexer_request {
struct indexer_request *prev, *next; struct indexer_request *prev, *next;
char *username; char *username;
char *mailbox; char *mailbox;
char *session_id; char *session_id;
unsigned int max_recent_msgs; unsigned int max_recent_msgs;
/* index messages in this mailbox */ /* index messages in this mailbox */
bool index:1; bool index:1;
skipping to change at line 33 skipping to change at line 35
bool reindex_head:1; bool reindex_head:1;
bool reindex_tail:1; bool reindex_tail:1;
/* when working finished, call this number of contexts and leave the /* when working finished, call this number of contexts and leave the
rest to the reindexing. */ rest to the reindexing. */
unsigned int working_context_idx; unsigned int working_context_idx;
ARRAY(void *) contexts; ARRAY(void *) contexts;
}; };
struct indexer_queue *indexer_queue_init(indexer_status_callback_t *callback); struct indexer_queue *indexer_queue_init(indexer_queue_callback_t *callback);
void indexer_queue_deinit(struct indexer_queue **queue); void indexer_queue_deinit(struct indexer_queue **queue);
/* The callback is called whenever a new request is added to the queue. */ /* The callback is called whenever a new request is added to the queue. */
void indexer_queue_set_listen_callback(struct indexer_queue *queue, void indexer_queue_set_listen_callback(struct indexer_queue *queue,
void (*callback)(struct indexer_queue *)); void (*callback)(struct indexer_queue *));
void indexer_queue_append(struct indexer_queue *queue, bool append, void indexer_queue_append(struct indexer_queue *queue, bool append,
const char *username, const char *mailbox, const char *username, const char *mailbox,
const char *session_id, unsigned int max_recent_msgs, const char *session_id, unsigned int max_recent_msgs,
void *context); void *context);
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)