NeoMutt  2024-10-02-34-g9dd811
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
msg_set.h
Go to the documentation of this file.
1
23#ifndef MUTT_IMAP_MSG_SET_H
24#define MUTT_IMAP_MSG_SET_H
25
26#include "mutt/lib.h"
27
28struct ImapAccountData;
29
31ARRAY_HEAD(UidArray, unsigned int);
32
33int imap_sort_uid(const void *a, const void *b, void *sdata);
34int imap_make_msg_set(struct UidArray *uida, struct Buffer *buf, int *pos);
35int imap_exec_msg_set(struct ImapAccountData *adata, const char *pre, const char *post, struct UidArray *uida);
36
37#endif /* MUTT_IMAP_MSG_SET_H */
#define ARRAY_HEAD(name, type)
Define a named struct for arrays of elements of a certain type.
Definition: array.h:47
int imap_sort_uid(const void *a, const void *b, void *sdata)
Compare two UIDs - Implements sort_t -.
Definition: msg_set.c:55
int imap_make_msg_set(struct UidArray *uida, struct Buffer *buf, int *pos)
Generate a compressed message set of UIDs.
Definition: msg_set.c:73
int imap_exec_msg_set(struct ImapAccountData *adata, const char *pre, const char *post, struct UidArray *uida)
Execute a command using a set of UIDs.
Definition: msg_set.c:133
Convenience wrapper for the library headers.
void * adata
Private data (for Mailbox backends)
Definition: account.h:42
String manipulation buffer.
Definition: buffer.h:36
IMAP-specific Account data -.
Definition: adata.h:40
char * buf
Definition: adata.h:59