RetroArch
Classes | Typedefs | Enumerations | Functions
interface_stream.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include <retro_common_api.h>
#include <boolean.h>
Include dependency graph for interface_stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  intfstream_info
 

Typedefs

typedef struct intfstream_internal intfstream_internal_t
 
typedef struct intfstream_internal intfstream_t
 
typedef struct intfstream_info intfstream_info_t
 

Enumerations

enum  intfstream_type { INTFSTREAM_FILE = 0, INTFSTREAM_MEMORY, INTFSTREAM_CHD }
 

Functions

voidintfstream_init (intfstream_info_t *info)
 
bool intfstream_resize (intfstream_internal_t *intf, intfstream_info_t *info)
 
bool intfstream_open (intfstream_internal_t *intf, const char *path, unsigned mode, unsigned hints)
 
int64_t intfstream_read (intfstream_internal_t *intf, void *s, uint64_t len)
 
int64_t intfstream_write (intfstream_internal_t *intf, const void *s, uint64_t len)
 
char * intfstream_gets (intfstream_internal_t *intf, char *buffer, uint64_t len)
 
int intfstream_getc (intfstream_internal_t *intf)
 
int64_t intfstream_seek (intfstream_internal_t *intf, int64_t offset, int whence)
 
void intfstream_rewind (intfstream_internal_t *intf)
 
int64_t intfstream_tell (intfstream_internal_t *intf)
 
void intfstream_putc (intfstream_internal_t *intf, int c)
 
int intfstream_close (intfstream_internal_t *intf)
 
int64_t intfstream_get_size (intfstream_internal_t *intf)
 
int intfstream_flush (intfstream_internal_t *intf)
 
intfstream_tintfstream_open_file (const char *path, unsigned mode, unsigned hints)
 
intfstream_tintfstream_open_memory (void *data, unsigned mode, unsigned hints, uint64_t size)
 
intfstream_tintfstream_open_chd_track (const char *path, unsigned mode, unsigned hints, int32_t track)
 

Typedef Documentation

◆ intfstream_info_t

◆ intfstream_internal_t

◆ intfstream_t

Enumeration Type Documentation

◆ intfstream_type

Enumerator
INTFSTREAM_FILE 
INTFSTREAM_MEMORY 
INTFSTREAM_CHD 

Function Documentation

◆ intfstream_close()

int intfstream_close ( intfstream_internal_t intf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_flush()

int intfstream_flush ( intfstream_internal_t intf)
Here is the call graph for this function:

◆ intfstream_get_size()

int64_t intfstream_get_size ( intfstream_internal_t intf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_getc()

int intfstream_getc ( intfstream_internal_t intf)
Here is the call graph for this function:

◆ intfstream_gets()

char* intfstream_gets ( intfstream_internal_t intf,
char *  buffer,
uint64_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_init()

void* intfstream_init ( intfstream_info_t info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_open()

bool intfstream_open ( intfstream_internal_t intf,
const char *  path,
unsigned  mode,
unsigned  hints 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_open_chd_track()

intfstream_t* intfstream_open_chd_track ( const char *  path,
unsigned  mode,
unsigned  hints,
int32_t  track 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_open_file()

intfstream_t* intfstream_open_file ( const char *  path,
unsigned  mode,
unsigned  hints 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_open_memory()

intfstream_t* intfstream_open_memory ( void data,
unsigned  mode,
unsigned  hints,
uint64_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_putc()

void intfstream_putc ( intfstream_internal_t intf,
int  c 
)
Here is the call graph for this function:

◆ intfstream_read()

int64_t intfstream_read ( intfstream_internal_t intf,
void s,
uint64_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_resize()

bool intfstream_resize ( intfstream_internal_t intf,
intfstream_info_t info 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_rewind()

void intfstream_rewind ( intfstream_internal_t intf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_seek()

int64_t intfstream_seek ( intfstream_internal_t intf,
int64_t  offset,
int  whence 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_tell()

int64_t intfstream_tell ( intfstream_internal_t intf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ intfstream_write()

int64_t intfstream_write ( intfstream_internal_t intf,
const void s,
uint64_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function: