PipeWire  0.3.33
spa_system_methods Struct Reference

Data Fields

uint32_t version
 
ssize_t(* read )(void *object, int fd, void *buf, size_t count)
 
ssize_t(* write )(void *object, int fd, const void *buf, size_t count)
 
int(* ioctl )(void *object, int fd, unsigned long request,...)
 
int(* close )(void *object, int fd)
 
int(* clock_gettime )(void *object, int clockid, struct timespec *value)
 
int(* clock_getres )(void *object, int clockid, struct timespec *res)
 
int(* pollfd_create )(void *object, int flags)
 
int(* pollfd_add )(void *object, int pfd, int fd, uint32_t events, void *data)
 
int(* pollfd_mod )(void *object, int pfd, int fd, uint32_t events, void *data)
 
int(* pollfd_del )(void *object, int pfd, int fd)
 
int(* pollfd_wait )(void *object, int pfd, struct spa_poll_event *ev, int n_ev, int timeout)
 
int(* timerfd_create )(void *object, int clockid, int flags)
 
int(* timerfd_settime )(void *object, int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value)
 
int(* timerfd_gettime )(void *object, int fd, struct itimerspec *curr_value)
 
int(* timerfd_read )(void *object, int fd, uint64_t *expirations)
 
int(* eventfd_create )(void *object, int flags)
 
int(* eventfd_write )(void *object, int fd, uint64_t count)
 
int(* eventfd_read )(void *object, int fd, uint64_t *count)
 
int(* signalfd_create )(void *object, int signal, int flags)
 
int(* signalfd_read )(void *object, int fd, int *signal)
 

Field Documentation

◆ clock_getres

int(* spa_system_methods::clock_getres) (void *object, int clockid, struct timespec *res)

◆ clock_gettime

int(* spa_system_methods::clock_gettime) (void *object, int clockid, struct timespec *value)

◆ close

int(* spa_system_methods::close) (void *object, int fd)

◆ eventfd_create

int(* spa_system_methods::eventfd_create) (void *object, int flags)

◆ eventfd_read

int(* spa_system_methods::eventfd_read) (void *object, int fd, uint64_t *count)

◆ eventfd_write

int(* spa_system_methods::eventfd_write) (void *object, int fd, uint64_t count)

◆ ioctl

int(* spa_system_methods::ioctl) (void *object, int fd, unsigned long request,...)

◆ pollfd_add

int(* spa_system_methods::pollfd_add) (void *object, int pfd, int fd, uint32_t events, void *data)

◆ pollfd_create

int(* spa_system_methods::pollfd_create) (void *object, int flags)

◆ pollfd_del

int(* spa_system_methods::pollfd_del) (void *object, int pfd, int fd)

◆ pollfd_mod

int(* spa_system_methods::pollfd_mod) (void *object, int pfd, int fd, uint32_t events, void *data)

◆ pollfd_wait

int(* spa_system_methods::pollfd_wait) (void *object, int pfd, struct spa_poll_event *ev, int n_ev, int timeout)

◆ read

ssize_t(* spa_system_methods::read) (void *object, int fd, void *buf, size_t count)

◆ signalfd_create

int(* spa_system_methods::signalfd_create) (void *object, int signal, int flags)

◆ signalfd_read

int(* spa_system_methods::signalfd_read) (void *object, int fd, int *signal)

◆ timerfd_create

int(* spa_system_methods::timerfd_create) (void *object, int clockid, int flags)

◆ timerfd_gettime

int(* spa_system_methods::timerfd_gettime) (void *object, int fd, struct itimerspec *curr_value)

◆ timerfd_read

int(* spa_system_methods::timerfd_read) (void *object, int fd, uint64_t *expirations)

◆ timerfd_settime

int(* spa_system_methods::timerfd_settime) (void *object, int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value)

◆ version

uint32_t spa_system_methods::version

◆ write

ssize_t(* spa_system_methods::write) (void *object, int fd, const void *buf, size_t count)

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