#include "config.h"#include <stddef.h>#include "private.h"#include "mutt/lib.h"#include "mutt.h"#include "lib.h"
Include dependency graph for flags.c:Go to the source code of this file.
Functions | |
| const struct PatternFlags * | lookup_tag (char prefix, char tag) |
| Lookup a pattern modifier. | |
| const struct PatternFlags * | lookup_op (int op) |
| Lookup the Pattern Flags for an op. | |
Variables | |
| const struct PatternFlags | Flags [] |
| Lookup table for all patterns. | |
Pattern definitions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file flags.c.
| const struct PatternFlags * lookup_tag | ( | char | prefix, |
| char | tag ) |
Lookup a pattern modifier.
| prefix | Pattern prefix, e.g. '~', '', or '=' |
| tag | Letter, e.g. 'b' for pattern '~b' |
| ptr | Pattern data |
This function first looks for an exact match with the given prefix and tag. If not found and prefix is '' or '=', it falls back to looking for the tag with '~' prefix to maintain backward compatibility where '=' means string-match and '' means group-match modifier.
Definition at line 235 of file flags.c.
Here is the caller graph for this function:| const struct PatternFlags * lookup_op | ( | int | op | ) |
Lookup the Pattern Flags for an op.
| op | Operation, e.g. MUTT_PAT_SENDER |
| ptr | PatternFlags |
Definition at line 258 of file flags.c.
Here is the caller graph for this function:| const struct PatternFlags Flags[] |
Lookup table for all patterns.
Patterns in use:
~ .bcdefghi.klmn.p.rstuvwxyz~ ABCDEFGHI..LMNOPQRSTUV.XY.~# ~$ ~() ~<() ~= ~>()c C e f L=b =B =h =/ Definition at line 47 of file flags.c.