RetroArch
Classes | Functions | Variables
trans_stream_pipe.c File Reference
#include <stdlib.h>
#include <string.h>
#include <streams/trans_stream.h>
Include dependency graph for trans_stream_pipe.c:
This graph shows which files directly or indirectly include this file:

Classes

struct  pipe_trans_stream
 

Functions

static voidpipe_stream_new (void)
 
static void pipe_stream_free (void *data)
 
static void pipe_set_in (void *data, const uint8_t *in, uint32_t in_size)
 
static void pipe_set_out (void *data, uint8_t *out, uint32_t out_size)
 
static bool pipe_trans (void *data, bool flush, uint32_t *rd, uint32_t *wn, enum trans_stream_error *error)
 

Variables

const struct trans_stream_backend pipe_backend
 

Function Documentation

◆ pipe_set_in()

static void pipe_set_in ( void data,
const uint8_t in,
uint32_t  in_size 
)
static

◆ pipe_set_out()

static void pipe_set_out ( void data,
uint8_t out,
uint32_t  out_size 
)
static

◆ pipe_stream_free()

static void pipe_stream_free ( void data)
static
Here is the call graph for this function:

◆ pipe_stream_new()

static void* pipe_stream_new ( void  )
static

◆ pipe_trans()

static bool pipe_trans ( void data,
bool  flush,
uint32_t rd,
uint32_t wn,
enum trans_stream_error error 
)
static
Here is the call graph for this function:

Variable Documentation

◆ pipe_backend

const struct trans_stream_backend pipe_backend
Initial value:
= {
"pipe",
}
static void pipe_set_in(void *data, const uint8_t *in, uint32_t in_size)
Definition: trans_stream_pipe.c:45
static void pipe_set_out(void *data, uint8_t *out, uint32_t out_size)
Definition: trans_stream_pipe.c:52
const struct trans_stream_backend pipe_backend
Definition: trans_stream_pipe.c:86
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void * pipe_stream_new(void)
Definition: trans_stream_pipe.c:35
static bool pipe_trans(void *data, bool flush, uint32_t *rd, uint32_t *wn, enum trans_stream_error *error)
Definition: trans_stream_pipe.c:59
static void pipe_stream_free(void *data)
Definition: trans_stream_pipe.c:40