diff options
author | Brendan Cully <brendan@kublai.com> | 2005-09-06 03:16:11 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-09-06 03:16:11 +0000 |
commit | 6c7068085a1aedff67bce66e35ed222a83685147 (patch) | |
tree | e5b4bdb0bb49eff33738197bf8efca0cbcf98cd3 /imap/imap.h | |
parent | d0e7825af1af2c7cc416e5969bf3f0cdde7cfcc9 (diff) |
Extend pattern language to do simple string matches as well as regular
expressions when the pattern is invoked with = instead of ~. And, when
possible, perform full body searches on the IMAP server instead of
locally, for an enormous speed boost.
Diffstat (limited to 'imap/imap.h')
-rw-r--r-- | imap/imap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/imap.h b/imap/imap.h index 9ac7a95e..b074519b 100644 --- a/imap/imap.h +++ b/imap/imap.h @@ -41,6 +41,7 @@ int imap_sync_mailbox (CONTEXT *ctx, int expunge, int *index_hint); void imap_close_mailbox (CONTEXT *ctx); int imap_buffy_check (char *path); int imap_mailbox_check (char *path, int new); +int imap_search (CONTEXT* ctx, const pattern_t* pat); int imap_subscribe (char *path, int subscribe); int imap_complete (char* dest, size_t dlen, char* path); |