From 7da0d28318c97f1f3d629f13daad9ec824254709 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 15 Dec 2017 12:40:37 -0500 Subject: Keep track of required FDs per-expr --- expr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'expr.h') diff --git a/expr.h b/expr.h index 5581bf4..0cd08ce 100644 --- a/expr.h +++ b/expr.h @@ -192,6 +192,11 @@ struct expr { /** Optional string data for this expression. */ const char *sdata; + + /** The number of files this expression keeps open between evaluations. */ + int persistent_fds; + /** The number of files this expression opens during evaluation. */ + int ephemeral_fds; }; /** Singleton true expression instance. */ -- cgit v1.2.3