summaryrefslogtreecommitdiffstats
path: root/lldb/tools/driver/IOChannel.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/driver/IOChannel.h')
-rw-r--r--lldb/tools/driver/IOChannel.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lldb/tools/driver/IOChannel.h b/lldb/tools/driver/IOChannel.h
index 0a6b2d0ec65..36653a0c289 100644
--- a/lldb/tools/driver/IOChannel.h
+++ b/lldb/tools/driver/IOChannel.h
@@ -38,6 +38,15 @@ public:
eBroadcastBitsSTDIN = (1 << 7),
eAllEventBits = 0xffffffff
};
+
+ enum LibeditGetInputResult
+ {
+ eLibeditGetInputEOF = 0,
+ eLibeditGetInputValid = 1,
+ eLibeditGetInputEmpty = 2,
+ eLibeditGetInputResultError = 4,
+ eLibeditGetInputResultUnknown = 0xffffffff
+ };
IOChannel (FILE *editline_in,
FILE *editline_out,
@@ -66,7 +75,7 @@ public:
void
ErrWrite (const char *buffer, size_t len, bool asynchronous);
- bool
+ LibeditGetInputResult
LibeditGetInput (std::string &);
static void
OpenPOWER on IntegriCloud