summaryrefslogtreecommitdiffstats
path: root/src/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/expr.h b/src/expr.h
index 356689d..95118b9 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -143,6 +143,16 @@ struct bfs_expr {
};
};
+ /** String comparisons. */
+ struct {
+ /** String pattern. */
+ const char *pattern;
+ /** fnmatch() flags. */
+ int fnm_flags;
+ /** Whether strcmp() can be used instead of fnmatch(). */
+ bool literal;
+ };
+
/** Printing actions. */
struct {
/** The output stream. */