RetroArch
Macros | Typedefs | Functions
chd_stream.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <retro_common_api.h>
Include dependency graph for chd_stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CHDSTREAM_TRACK_FIRST_DATA   (-1)
 
#define CHDSTREAM_TRACK_LAST   (-2)
 
#define CHDSTREAM_TRACK_PRIMARY   (-3)
 

Typedefs

typedef typedefRETRO_BEGIN_DECLS struct chdstream chdstream_t
 

Functions

chdstream_tchdstream_open (const char *path, int32_t track)
 
void chdstream_close (chdstream_t *stream)
 
ssize_t chdstream_read (chdstream_t *stream, void *data, size_t bytes)
 
int chdstream_getc (chdstream_t *stream)
 
char * chdstream_gets (chdstream_t *stream, char *buffer, size_t len)
 
uint64_t chdstream_tell (chdstream_t *stream)
 
void chdstream_rewind (chdstream_t *stream)
 
int64_t chdstream_seek (chdstream_t *stream, int64_t offset, int whence)
 
ssize_t chdstream_get_size (chdstream_t *stream)
 

Macro Definition Documentation

◆ CHDSTREAM_TRACK_FIRST_DATA

#define CHDSTREAM_TRACK_FIRST_DATA   (-1)

◆ CHDSTREAM_TRACK_LAST

#define CHDSTREAM_TRACK_LAST   (-2)

◆ CHDSTREAM_TRACK_PRIMARY

#define CHDSTREAM_TRACK_PRIMARY   (-3)

Typedef Documentation

◆ chdstream_t

typedef typedefRETRO_BEGIN_DECLS struct chdstream chdstream_t

Function Documentation

◆ chdstream_close()

void chdstream_close ( chdstream_t stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chdstream_get_size()

ssize_t chdstream_get_size ( chdstream_t stream)
Here is the caller graph for this function:

◆ chdstream_getc()

int chdstream_getc ( chdstream_t stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chdstream_gets()

char* chdstream_gets ( chdstream_t stream,
char *  buffer,
size_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chdstream_open()

chdstream_t* chdstream_open ( const char *  path,
int32_t  track 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chdstream_read()

ssize_t chdstream_read ( chdstream_t stream,
void data,
size_t  bytes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ chdstream_rewind()

void chdstream_rewind ( chdstream_t stream)
Here is the caller graph for this function:

◆ chdstream_seek()

int64_t chdstream_seek ( chdstream_t stream,
int64_t  offset,
int  whence 
)
Here is the caller graph for this function:

◆ chdstream_tell()

uint64_t chdstream_tell ( chdstream_t stream)
Here is the caller graph for this function: