summaryrefslogtreecommitdiffstats
path: root/cmdline.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-11-12 15:16:23 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-11-12 15:16:23 -0500
commitaf7878c7474de2f6c5542ad52a0a67237387c638 (patch)
tree0c94e29edc66302022f0bcc2829732cfb14cde6b /cmdline.h
parent6e9f52c9a8d51cac7db3b62e799fc32072c86443 (diff)
downloadbfs-af7878c7474de2f6c5542ad52a0a67237387c638.tar.xz
cmdline: Account for files opened during/between evaluations more carefully
Diffstat (limited to 'cmdline.h')
-rw-r--r--cmdline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmdline.h b/cmdline.h
index e9731f9..09500ce 100644
--- a/cmdline.h
+++ b/cmdline.h
@@ -98,6 +98,10 @@ struct cmdline {
struct open_file *open_files;
/** The number of open files owned by the command line. */
int nopen_files;
+ /** The number of files that may stay open between evaluations. */
+ int persistent_fds;
+ /** The number of files that mau be opened during evaluations. */
+ int ephemeral_fds;
};
/**