Back to index

cell-binutils  2.17cvs20070401
Classes | Public Member Functions | Public Attributes
host_callback_struct Struct Reference

#include <callback.h>

Collaboration diagram for host_callback_struct:
Collaboration graph
[legend]

List of all members.

Classes

struct  pipe_write_buffer

Public Member Functions

int close PARAMS ((host_callback *, int))
int get_errno PARAMS ((host_callback *))
int isatty PARAMS ((host_callback *, int))
int lseek PARAMS ((host_callback *, int, long, int))
int open PARAMS ((host_callback *, const char *, int mode))
int read PARAMS ((host_callback *, int, char *, int))
int read_stdin PARAMS ((host_callback *, char *, int))
int rename PARAMS ((host_callback *, const char *, const char *))
int system PARAMS ((host_callback *, const char *))
long time PARAMS ((host_callback *, long *))
int unlink PARAMS ((host_callback *, const char *))
int write PARAMS ((host_callback *, int, const char *, int))
int write_stdout PARAMS ((host_callback *, const char *, int))
void flush_stdout PARAMS ((host_callback *))
int write_stderr PARAMS ((host_callback *, const char *, int))
void flush_stderr PARAMS ((host_callback *))
int stat PARAMS ((host_callback *, const char *, struct stat *))
int fstat PARAMS ((host_callback *, int, struct stat *))
int lstat PARAMS ((host_callback *, const char *, struct stat *))
int ftruncate PARAMS ((host_callback *, int, long))
int truncate PARAMS ((host_callback *, const char *, long))
int pipe PARAMS ((host_callback *, int *))
void pipe_empty PARAMS ((host_callback *, int read_fd, int write_fd))
void pipe_nonempty PARAMS ((host_callback *, int read_fd, int write_fd))
int poll_quit PARAMS ((host_callback *))
int shutdown PARAMS ((host_callback *))
int init PARAMS ((host_callback *))
void printf_filtered PARAMS ((host_callback *, const char *,...))
void vprintf_filtered PARAMS ((host_callback *, const char *, va_list))
void evprintf_filtered PARAMS ((host_callback *, const char *, va_list))
void error PARAMS ((host_callback *, const char *,...))

Public Attributes

int last_errno
int fdmap [MAX_CALLBACK_FDS]
short fd_buddy [MAX_CALLBACK_FDS+1]
short ispipe [MAX_CALLBACK_FDS]
struct
host_callback_struct::pipe_write_buffer 
pipe_buffer [MAX_CALLBACK_FDS]
CB_TARGET_DEFS_MAPsyscall_map
CB_TARGET_DEFS_MAPerrno_map
CB_TARGET_DEFS_MAPopen_map
CB_TARGET_DEFS_MAPsignal_map
const char * stat_map
int magic

Detailed Description

Definition at line 74 of file callback.h.


Class Documentation

struct host_callback_struct::pipe_write_buffer

Definition at line 153 of file callback.h.

Class Members
char * buffer
int size

Member Function Documentation

int close host_callback_struct::PARAMS ( (host_callback *, int )
int get_errno host_callback_struct::PARAMS ( (host_callback *)  )
int isatty host_callback_struct::PARAMS ( (host_callback *, int )
int lseek host_callback_struct::PARAMS ( (host_callback *, int, long, int )
int open host_callback_struct::PARAMS ( (host_callback *, const char *, int mode )
int read host_callback_struct::PARAMS ( (host_callback *, int, char *, int )
int read_stdin host_callback_struct::PARAMS ( (host_callback *, char *, int )
int rename host_callback_struct::PARAMS ( (host_callback *, const char *, const char *)  )
int system host_callback_struct::PARAMS ( (host_callback *, const char *)  )
long time host_callback_struct::PARAMS ( (host_callback *, long *)  )
int unlink host_callback_struct::PARAMS ( (host_callback *, const char *)  )
int write host_callback_struct::PARAMS ( (host_callback *, int, const char *, int )
int write_stdout host_callback_struct::PARAMS ( (host_callback *, const char *, int )
void flush_stdout host_callback_struct::PARAMS ( (host_callback *)  )
int write_stderr host_callback_struct::PARAMS ( (host_callback *, const char *, int )
void flush_stderr host_callback_struct::PARAMS ( (host_callback *)  )
int stat host_callback_struct::PARAMS ( (host_callback *, const char *, struct stat *)  )
int fstat host_callback_struct::PARAMS ( (host_callback *, int, struct stat *)  )
int lstat host_callback_struct::PARAMS ( (host_callback *, const char *, struct stat *)  )
int ftruncate host_callback_struct::PARAMS ( (host_callback *, int, long )
int truncate host_callback_struct::PARAMS ( (host_callback *, const char *, long )
int pipe host_callback_struct::PARAMS ( (host_callback *, int *)  )
void pipe_empty host_callback_struct::PARAMS ( (host_callback *, int read_fd, int write_fd)  )
void pipe_nonempty host_callback_struct::PARAMS ( (host_callback *, int read_fd, int write_fd)  )
int poll_quit host_callback_struct::PARAMS ( (host_callback *)  )
int shutdown host_callback_struct::PARAMS ( (host_callback *)  )
int init host_callback_struct::PARAMS ( (host_callback *)  )
void printf_filtered host_callback_struct::PARAMS ( (host_callback *, const char *,...)  )
void vprintf_filtered host_callback_struct::PARAMS ( (host_callback *, const char *, va_list )
void evprintf_filtered host_callback_struct::PARAMS ( (host_callback *, const char *, va_list )
void error host_callback_struct::PARAMS ( (host_callback *, const char *,...)  )

Member Data Documentation

Definition at line 162 of file callback.h.

Definition at line 141 of file callback.h.

Definition at line 132 of file callback.h.

Definition at line 147 of file callback.h.

Definition at line 130 of file callback.h.

Definition at line 190 of file callback.h.

Definition at line 164 of file callback.h.

struct host_callback_struct::pipe_write_buffer host_callback_struct::pipe_buffer[MAX_CALLBACK_FDS]

Definition at line 166 of file callback.h.

Definition at line 174 of file callback.h.

Definition at line 160 of file callback.h.


The documentation for this struct was generated from the following file: