78 _(
"tui_file_delete: bad magic number"));
128 _(
"tui_file_isatty: bad magic number"));
142 _(
"tui_file_rewind: bad magic number"));
155 _(
"tui_file_put: bad magic number"));
196 _(
"tui_file_get_strbuf: bad magic number"));
211 _(
"tui_file_adjust_strbuf: bad magic number"));
219 non_null_chars = strlen (stream->
ts_strbuf);
221 if (n > (stream->
ts_buflen - non_null_chars - 1))
223 stream->
ts_buflen = n + non_null_chars + 1;
239 _(
"tui_file_flush: bad magic number"));
char * tui_file_get_strbuf(struct ui_file *file)
void set_ui_file_isatty(struct ui_file *file, ui_file_isatty_ftype *isatty_ptr)
static ui_file_isatty_ftype tui_file_isatty
void( ui_file_fputs_ftype)(const char *, struct ui_file *stream)
void( ui_file_delete_ftype)(struct ui_file *stream)
void tui_refresh_cmd_win(void)
struct ui_file * gdb_stdout
void internal_error(const char *file, int line, const char *fmt,...)
static ui_file_flush_ftype tui_file_flush
void tui_puts(const char *string)
void set_ui_file_rewind(struct ui_file *file, ui_file_rewind_ftype *rewind_ptr)
static struct ui_file * tui_file_new(void)
void set_ui_file_flush(struct ui_file *file, ui_file_flush_ftype *flush_ptr)
ui_file_fputs_ftype tui_file_fputs
struct ui_file * ui_file_new(void)
struct ui_file * tui_sfileopen(int n)
static int tui_file_magic
enum streamtype ts_streamtype
void( ui_file_flush_ftype)(struct ui_file *stream)
static ui_file_put_ftype tui_file_put
void( ui_file_put_ftype)(struct ui_file *stream, ui_file_put_method_ftype *method, void *context)
PTR xrealloc(PTR ptr, size_t size)
int( ui_file_isatty_ftype)(struct ui_file *stream)
void set_ui_file_data(struct ui_file *file, void *data, ui_file_delete_ftype *delete_ptr)
void set_ui_file_fputs(struct ui_file *file, ui_file_fputs_ftype *fputs_ptr)
struct ui_file * tui_fileopen(FILE *stream)
static ui_file_delete_ftype tui_file_delete
void * ui_file_data(struct ui_file *file)
void tui_file_adjust_strbuf(int n, struct ui_file *file)
void( ui_file_rewind_ftype)(struct ui_file *stream)
void set_ui_file_put(struct ui_file *file, ui_file_put_ftype *put_ptr)
static ui_file_rewind_ftype tui_file_rewind
void( ui_file_put_method_ftype)(void *object, const char *buffer, long length_buffer)