GDB (API)
Typedefs | Functions
/home/stan/gdb/src/gdb/ui-file.h File Reference

Go to the source code of this file.

Typedefs

typedef void( ui_file_flush_ftype )(struct ui_file *stream)
typedef void( ui_file_write_ftype )(struct ui_file *stream, const char *buf, long length_buf)
typedef void( ui_file_fputs_ftype )(const char *, struct ui_file *stream)
typedef void( ui_file_write_async_safe_ftype )(struct ui_file *stream, const char *buf, long length_buf)
typedef long( ui_file_read_ftype )(struct ui_file *stream, char *buf, long length_buf)
typedef intui_file_isatty_ftype )(struct ui_file *stream)
typedef void( ui_file_rewind_ftype )(struct ui_file *stream)
typedef void( ui_file_put_method_ftype )(void *object, const char *buffer, long length_buffer)
typedef void( ui_file_put_ftype )(struct ui_file *stream, ui_file_put_method_ftype *method, void *context)
typedef void( ui_file_delete_ftype )(struct ui_file *stream)
typedef intui_file_fseek_ftype )(struct ui_file *stream, long offset, int whence)

Functions

struct ui_file * ui_file_new (void)
void set_ui_file_flush (struct ui_file *stream, ui_file_flush_ftype *flush)
void set_ui_file_write (struct ui_file *stream, ui_file_write_ftype *fputs)
void set_ui_file_fputs (struct ui_file *stream, ui_file_fputs_ftype *fputs)
void set_ui_file_write_async_safe (struct ui_file *stream, ui_file_write_async_safe_ftype *write_async_safe)
void set_ui_file_read (struct ui_file *stream, ui_file_read_ftype *fread)
void set_ui_file_isatty (struct ui_file *stream, ui_file_isatty_ftype *isatty)
void set_ui_file_rewind (struct ui_file *stream, ui_file_rewind_ftype *rewind)
void set_ui_file_put (struct ui_file *stream, ui_file_put_ftype *put)
void set_ui_file_data (struct ui_file *stream, void *data, ui_file_delete_ftype *delete)
void set_ui_file_fseek (struct ui_file *stream, ui_file_fseek_ftype *fseek_ptr)
void * ui_file_data (struct ui_file *file)
void gdb_flush (struct ui_file *)
void ui_file_delete (struct ui_file *stream)
void ui_file_rewind (struct ui_file *stream)
int ui_file_isatty (struct ui_file *)
void ui_file_write (struct ui_file *file, const char *buf, long length_buf)
void ui_file_write_async_safe (struct ui_file *file, const char *buf, long length_buf)
void ui_file_put (struct ui_file *src, ui_file_put_method_ftype *write, void *dest)
char * ui_file_xstrdup (struct ui_file *file, long *length)
char * ui_file_obsavestring (struct ui_file *file, struct obstack *obstack, long *length)
long ui_file_read (struct ui_file *file, char *buf, long length_buf)
int ui_file_fseek (struct ui_file *file, long offset, int whence)
struct ui_file * mem_fileopen (void)
struct ui_file * stdio_fileopen (FILE *file)
struct ui_file * stderr_fileopen (void)
struct ui_file * gdb_fopen (const char *name, const char *mode)
struct ui_file * tee_file_new (struct ui_file *one, int close_one, struct ui_file *two, int close_two)

Typedef Documentation

typedef void( ui_file_delete_ftype)(struct ui_file *stream)

Definition at line 78 of file ui-file.h.

typedef void( ui_file_flush_ftype)(struct ui_file *stream)

Definition at line 32 of file ui-file.h.

typedef void( ui_file_fputs_ftype)(const char *, struct ui_file *stream)

Definition at line 43 of file ui-file.h.

typedef int( ui_file_fseek_ftype)(struct ui_file *stream, long offset, int whence)

Definition at line 82 of file ui-file.h.

typedef int( ui_file_isatty_ftype)(struct ui_file *stream)

Definition at line 63 of file ui-file.h.

typedef void( ui_file_put_ftype)(struct ui_file *stream, ui_file_put_method_ftype *method, void *context)

Definition at line 73 of file ui-file.h.

typedef void( ui_file_put_method_ftype)(void *object, const char *buffer, long length_buffer)

Definition at line 71 of file ui-file.h.

typedef long( ui_file_read_ftype)(struct ui_file *stream, char *buf, long length_buf)

Definition at line 58 of file ui-file.h.

typedef void( ui_file_rewind_ftype)(struct ui_file *stream)

Definition at line 67 of file ui-file.h.

typedef void( ui_file_write_async_safe_ftype)(struct ui_file *stream, const char *buf, long length_buf)

Definition at line 54 of file ui-file.h.

typedef void( ui_file_write_ftype)(struct ui_file *stream, const char *buf, long length_buf)

Definition at line 38 of file ui-file.h.


Function Documentation

void gdb_flush ( struct ui_file *  )

Definition at line 195 of file ui-file.c.

struct ui_file* gdb_fopen ( const char *  name,
const char *  mode 
) [read]

Definition at line 720 of file ui-file.c.

struct ui_file* mem_fileopen ( void  ) [read]

Definition at line 424 of file ui-file.c.

void set_ui_file_data ( struct ui_file *  stream,
void *  data,
ui_file_delete_ftype delete 
)

Definition at line 311 of file ui-file.c.

void set_ui_file_flush ( struct ui_file *  stream,
ui_file_flush_ftype flush 
)

Definition at line 255 of file ui-file.c.

void set_ui_file_fputs ( struct ui_file *  stream,
ui_file_fputs_ftype fputs 
)

Definition at line 299 of file ui-file.c.

void set_ui_file_fseek ( struct ui_file *  stream,
ui_file_fseek_ftype fseek_ptr 
)

Definition at line 305 of file ui-file.c.

void set_ui_file_isatty ( struct ui_file *  stream,
ui_file_isatty_ftype isatty 
)

Definition at line 261 of file ui-file.c.

void set_ui_file_put ( struct ui_file *  stream,
ui_file_put_ftype put 
)

Definition at line 273 of file ui-file.c.

void set_ui_file_read ( struct ui_file *  stream,
ui_file_read_ftype fread 
)

Definition at line 293 of file ui-file.c.

void set_ui_file_rewind ( struct ui_file *  stream,
ui_file_rewind_ftype rewind 
)

Definition at line 267 of file ui-file.c.

void set_ui_file_write ( struct ui_file *  stream,
ui_file_write_ftype fputs 
)

Definition at line 279 of file ui-file.c.

void set_ui_file_write_async_safe ( struct ui_file *  stream,
ui_file_write_async_safe_ftype write_async_safe 
)

Definition at line 286 of file ui-file.c.

struct ui_file* stderr_fileopen ( void  ) [read]

Definition at line 680 of file ui-file.c.

struct ui_file* stdio_fileopen ( FILE *  file) [read]

Definition at line 714 of file ui-file.c.

struct ui_file* tee_file_new ( struct ui_file *  one,
int  close_one,
struct ui_file *  two,
int  close_two 
) [read]

Definition at line 747 of file ui-file.c.

void* ui_file_data ( struct ui_file *  file)

Definition at line 186 of file ui-file.c.

void ui_file_delete ( struct ui_file *  stream)

Definition at line 79 of file ui-file.c.

int ui_file_fseek ( struct ui_file *  file,
long  offset,
int  whence 
)

Definition at line 243 of file ui-file.c.

int ui_file_isatty ( struct ui_file *  )

Definition at line 201 of file ui-file.c.

struct ui_file* ui_file_new ( void  ) [read]

Definition at line 60 of file ui-file.c.

char* ui_file_obsavestring ( struct ui_file *  file,
struct obstack *  obstack,
long *  length 
)

Definition at line 365 of file ui-file.c.

void ui_file_put ( struct ui_file *  src,
ui_file_put_method_ftype write,
void *  dest 
)

Definition at line 213 of file ui-file.c.

long ui_file_read ( struct ui_file *  file,
char *  buf,
long  length_buf 
)

Definition at line 237 of file ui-file.c.

void ui_file_rewind ( struct ui_file *  stream)

Definition at line 207 of file ui-file.c.

void ui_file_write ( struct ui_file *  file,
const char *  buf,
long  length_buf 
)

Definition at line 221 of file ui-file.c.

void ui_file_write_async_safe ( struct ui_file *  file,
const char *  buf,
long  length_buf 
)

Definition at line 229 of file ui-file.c.

char* ui_file_xstrdup ( struct ui_file *  file,
long *  length 
)

Definition at line 342 of file ui-file.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines