Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-imap/imap-match.h @ 956:26cafa3dc09c HEAD
minor optimization
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 12 Jan 2003 01:49:45 +0200 |
parents | fd8888f6f037 |
children | d28571e8c810 |
line wrap: on
line source
#ifndef __IMAP_MATCH_H #define __IMAP_MATCH_H struct imap_match_glob; /* If inboxcase is TRUE, the "INBOX" string at the beginning of line is compared case-insensitively */ struct imap_match_glob *imap_match_init(const char *mask, int inboxcase, char separator); /* Returns 1 if matched, 0 if it didn't match, but could match with additional hierarchies, -1 if definitely didn't match */ int imap_match(struct imap_match_glob *glob, const char *data); #endif