summaryrefslogtreecommitdiffstats
path: root/cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline.h')
-rw-r--r--cmdline.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cmdline.h b/cmdline.h
index 9a46f7f..7c1891c 100644
--- a/cmdline.h
+++ b/cmdline.h
@@ -50,6 +50,11 @@ struct root {
};
/**
+ * An open file for the command line.
+ */
+struct open_file;
+
+/**
* The parsed command line.
*/
struct cmdline {
@@ -89,7 +94,9 @@ struct cmdline {
/** The command line expression. */
struct expr *expr;
- /** The number of open files used by the expression tree. */
+ /** All the open files owned by the command line. */
+ struct open_file *open_files;
+ /** The number of open files owned by the command line. */
int nopen_files;
};