GDB (xrefs)
Classes | Enumerations | Functions | Variables
tui-file.c File Reference
#include "defs.h"
#include "ui-file.h"
#include "tui/tui-file.h"
#include "tui/tui-io.h"
#include "tui/tui-command.h"
#include "tui.h"

Go to the source code of this file.

Classes

struct  tui_stream
 

Enumerations

enum  streamtype { afile, astring }
 

Functions

static struct ui_filetui_file_new (void)
 
static void tui_file_delete (struct ui_file *file)
 
struct ui_filetui_fileopen (FILE *stream)
 
struct ui_filetui_sfileopen (int n)
 
static int tui_file_isatty (struct ui_file *file)
 
static void tui_file_rewind (struct ui_file *file)
 
static void tui_file_put (struct ui_file *file, ui_file_put_method_ftype *write, void *dest)
 
void tui_file_fputs (const char *linebuffer, struct ui_file *file)
 
char * tui_file_get_strbuf (struct ui_file *file)
 
void tui_file_adjust_strbuf (int n, struct ui_file *file)
 
static void tui_file_flush (struct ui_file *file)
 

Variables

static ui_file_flush_ftype tui_file_flush
 
ui_file_fputs_ftype tui_file_fputs
 
static ui_file_isatty_ftype tui_file_isatty
 
static ui_file_rewind_ftype tui_file_rewind
 
static ui_file_put_ftype tui_file_put
 
static ui_file_delete_ftype tui_file_delete
 
static int tui_file_magic
 

Enumeration Type Documentation

enum streamtype
Enumerator
afile 
astring 

Definition at line 30 of file tui-file.c.

Function Documentation

void tui_file_adjust_strbuf ( int  n,
struct ui_file file 
)
static void tui_file_delete ( struct ui_file file)
static
static void tui_file_flush ( struct ui_file file)
static
void tui_file_fputs ( const char *  linebuffer,
struct ui_file file 
)
char* tui_file_get_strbuf ( struct ui_file file)
static int tui_file_isatty ( struct ui_file file)
static
static struct ui_file * tui_file_new ( void  )
static
static void tui_file_put ( struct ui_file file,
ui_file_put_method_ftype write,
void *  dest 
)
static
static void tui_file_rewind ( struct ui_file file)
static
struct ui_file* tui_fileopen ( FILE *  stream)
struct ui_file* tui_sfileopen ( int  n)

Variable Documentation

ui_file_delete_ftype tui_file_delete
static

Definition at line 51 of file tui-file.c.

Referenced by tui_file_new().

ui_file_flush_ftype tui_file_flush
static

Definition at line 46 of file tui-file.c.

Referenced by tui_file_new().

ui_file_fputs_ftype tui_file_fputs

Referenced by tui_file_new().

ui_file_isatty_ftype tui_file_isatty
static

Definition at line 48 of file tui-file.c.

Referenced by tui_file_new().

int tui_file_magic
static
ui_file_put_ftype tui_file_put
static

Definition at line 50 of file tui-file.c.

Referenced by tui_file_new().

ui_file_rewind_ftype tui_file_rewind
static

Definition at line 49 of file tui-file.c.

Referenced by tui_file_new().