GDB (API)
Functions | Variables
/home/stan/gdb/src/gdb/ui-file.c File Reference
#include "defs.h"
#include "ui-file.h"
#include "gdb_obstack.h"
#include "gdb_string.h"
#include "gdb_select.h"
#include "filestuff.h"
#include <errno.h>

Go to the source code of this file.

Functions

struct ui_file * ui_file_new (void)
void ui_file_delete (struct ui_file *file)
void * ui_file_data (struct ui_file *file)
void gdb_flush (struct ui_file *file)
int ui_file_isatty (struct ui_file *file)
void ui_file_rewind (struct ui_file *file)
void ui_file_put (struct ui_file *file, ui_file_put_method_ftype *write, void *dest)
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)
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)
void fputs_unfiltered (const char *buf, struct ui_file *file)
void set_ui_file_flush (struct ui_file *file, ui_file_flush_ftype *flush_ptr)
void set_ui_file_isatty (struct ui_file *file, ui_file_isatty_ftype *isatty_ptr)
void set_ui_file_rewind (struct ui_file *file, ui_file_rewind_ftype *rewind_ptr)
void set_ui_file_put (struct ui_file *file, ui_file_put_ftype *put_ptr)
void set_ui_file_write (struct ui_file *file, ui_file_write_ftype *write_ptr)
void set_ui_file_write_async_safe (struct ui_file *file, ui_file_write_async_safe_ftype *write_async_safe_ptr)
void set_ui_file_read (struct ui_file *file, ui_file_read_ftype *read_ptr)
void set_ui_file_fputs (struct ui_file *file, ui_file_fputs_ftype *fputs_ptr)
void set_ui_file_fseek (struct ui_file *file, ui_file_fseek_ftype *fseek_ptr)
void set_ui_file_data (struct ui_file *file, void *data, ui_file_delete_ftype *delete_ptr)
char * ui_file_xstrdup (struct ui_file *file, long *length)
char * ui_file_obsavestring (struct ui_file *file, struct obstack *obstack, long *length)
struct ui_file * mem_fileopen (void)
void mem_file_write (struct ui_file *file, const char *buffer, long length_buffer)
struct ui_file * stderr_fileopen (void)
struct ui_file * stdio_fileopen (FILE *file)
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)

Variables

int ui_file_magic

Function Documentation

void fputs_unfiltered ( const char *  ,
struct ui_file *   
)

Write a string to output, with no filter.

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

void gdb_flush ( struct ui_file *  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.

void mem_file_write ( struct ui_file *  file,
const char *  buffer,
long  length_buffer 
)

Definition at line 455 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 *  file,
void *  data,
ui_file_delete_ftype delete_ptr 
)

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

void set_ui_file_flush ( struct ui_file *  file,
ui_file_flush_ftype flush_ptr 
)

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

void set_ui_file_fputs ( struct ui_file *  file,
ui_file_fputs_ftype fputs_ptr 
)

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

void set_ui_file_fseek ( struct ui_file *  file,
ui_file_fseek_ftype fseek_ptr 
)

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

void set_ui_file_isatty ( struct ui_file *  file,
ui_file_isatty_ftype isatty_ptr 
)

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

void set_ui_file_put ( struct ui_file *  file,
ui_file_put_ftype put_ptr 
)

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

void set_ui_file_read ( struct ui_file *  file,
ui_file_read_ftype read_ptr 
)

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

void set_ui_file_rewind ( struct ui_file *  file,
ui_file_rewind_ftype rewind_ptr 
)

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

void set_ui_file_write ( struct ui_file *  file,
ui_file_write_ftype write_ptr 
)

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

void set_ui_file_write_async_safe ( struct ui_file *  file,
ui_file_write_async_safe_ftype write_async_safe_ptr 
)

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 *  file)

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 *  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 *  file,
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 *  file)

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.


Variable Documentation

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines