aboutsummaryrefslogtreecommitdiff
path: root/func.h
diff options
context:
space:
mode:
Diffstat (limited to 'func.h')
-rw-r--r--func.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/func.h b/func.h
index e78deb7..4ba03b6 100644
--- a/func.h
+++ b/func.h
@@ -41,8 +41,19 @@ FuncInfo* GetFuncInfo(StringPiece name);
struct FindCommand;
+enum struct CommandOp {
+ SHELL,
+ FIND,
+ READ,
+ READ_MISSING,
+ WRITE,
+ APPEND,
+};
+
struct CommandResult {
+ CommandOp op;
string shell;
+ string shellflag;
string cmd;
unique_ptr<FindCommand> find;
string result;