Cross Reference: index-sort-private.h
xref
: /
dovecot
/
src
/
lib-storage
/
index
/
index-sort-private.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
0
N/A
#
ifndef
INDEX_SORT_PRIVATE_H
0
N/A
#
define
INDEX_SORT_PRIVATE_H
0
N/A
292
N/A
#
include
"
index-sort.h
"
292
N/A
292
N/A
struct
mail_search_sort_program
{
292
N/A
struct
mailbox_transaction_context
*t;
292
N/A
enum
mail_sort_type
sort_program
[
MAX_SORT_PROGRAM_SIZE
];
292
N/A
struct
mail
*
temp_mail
;
292
N/A
unsigned
int
slow_mails_left
;
292
N/A
292
N/A
void
(*
sort_list_add
)(
struct
mail_search_sort_program
*
program
,
292
N/A
struct
mail
*
mail
);
292
N/A
void
(*
sort_list_finish
)(
struct
mail_search_sort_program
*
program
);
292
N/A
void
*
context
;
292
N/A
292
N/A
ARRAY_TYPE
(
uint32_t
)
seqs
;
292
N/A
unsigned
int
iter_idx
;
292
N/A
292
N/A
bool
failed
;
292
N/A
};
292
N/A
292
N/A
/* Returns 1 on success, 0 if mail is already expunged, -1 on other errors. */
292
N/A
int
index_sort_header_get
(
struct
mail_search_sort_program
*
program
,
uint32_t
seq
,
292
N/A
enum
mail_sort_type
sort_type
,
string_t
*
dest
);
292
N/A
int
index_sort_node_cmp_type
(
struct
mail_search_sort_program
*
program
,
292
N/A
const
enum
mail_sort_type
*
sort_program
,
292
N/A
uint32_t
seq1
,
uint32_t
seq2
);
292
N/A
292
N/A
void
index_sort_list_init_string
(
struct
mail_search_sort_program
*
program
);
292
N/A
void
index_sort_list_add_string
(
struct
mail_search_sort_program
*
program
,
292
N/A
struct
mail
*
mail
);
292
N/A
void
index_sort_list_finish_string
(
struct
mail_search_sort_program
*
program
);
292
N/A
292
N/A
#
endif
292
N/A