+/* Call this function to give the current interpreter an opportunity
+ to do any special handling of streams when logging is enabled or
+ disabled. START_LOG is 1 when logging is starting, 0 when it ends,
+ and OUT is the stream for the log file; it will be NULL when
+ logging is ending. LOGFILE is non-NULL if the output streams
+ are to be tees, with the log file as one of the outputs. */
+
+extern int current_interp_set_logging (int start_log, struct ui_file *out,
+ struct ui_file *logfile);
+
+/* Returns opaque data associated with the top-level interpreter. */
+extern void *top_level_interpreter_data (void);
+extern struct interp *top_level_interpreter (void);
+
+/* True if the current interpreter is in async mode, false if in sync
+ mode. If in sync mode, running a synchronous execution command
+ (with execute_command, e.g, "next") will not return until the
+ command is finished. If in async mode, then running a synchronous
+ command returns right after resuming the target. Waiting for the
+ command's completion is later done on the top event loop (using
+ continuations). */
+extern int interpreter_async;
+