PipeWire 0.3.77
Loading...
Searching...
No Matches
system.h File Reference

spa/support/system.h More...

Go to the source code of this file.

Data Structures

struct  spa_system
 
struct  spa_poll_event
 
struct  spa_system_methods
 

Macros

#define SPA_TYPE_INTERFACE_System   SPA_TYPE_INFO_INTERFACE_BASE "System"
 a collection of core system functions More...
 
#define SPA_TYPE_INTERFACE_DataSystem   SPA_TYPE_INFO_INTERFACE_BASE "DataSystem"
 
#define SPA_VERSION_SYSTEM   0
 
#define SPA_IO_IN   (1 << 0)
 
#define SPA_IO_OUT   (1 << 2)
 
#define SPA_IO_ERR   (1 << 3)
 
#define SPA_IO_HUP   (1 << 4)
 
#define SPA_FD_CLOEXEC   (1<<0)
 
#define SPA_FD_NONBLOCK   (1<<1)
 
#define SPA_FD_EVENT_SEMAPHORE   (1<<2)
 
#define SPA_FD_TIMER_ABSTIME   (1<<3)
 
#define SPA_FD_TIMER_CANCEL_ON_SET   (1<<4)
 
#define SPA_VERSION_SYSTEM_METHODS   0
 
#define spa_system_method_r(o, method, version, ...)
 
#define spa_system_read(s, ...)   spa_system_method_r(s,read,0,__VA_ARGS__)
 
#define spa_system_write(s, ...)   spa_system_method_r(s,write,0,__VA_ARGS__)
 
#define spa_system_ioctl(s, ...)   spa_system_method_r(s,ioctl,0,__VA_ARGS__)
 
#define spa_system_close(s, ...)   spa_system_method_r(s,close,0,__VA_ARGS__)
 
#define spa_system_clock_gettime(s, ...)   spa_system_method_r(s,clock_gettime,0,__VA_ARGS__)
 
#define spa_system_clock_getres(s, ...)   spa_system_method_r(s,clock_getres,0,__VA_ARGS__)
 
#define spa_system_pollfd_create(s, ...)   spa_system_method_r(s,pollfd_create,0,__VA_ARGS__)
 
#define spa_system_pollfd_add(s, ...)   spa_system_method_r(s,pollfd_add,0,__VA_ARGS__)
 
#define spa_system_pollfd_mod(s, ...)   spa_system_method_r(s,pollfd_mod,0,__VA_ARGS__)
 
#define spa_system_pollfd_del(s, ...)   spa_system_method_r(s,pollfd_del,0,__VA_ARGS__)
 
#define spa_system_pollfd_wait(s, ...)   spa_system_method_r(s,pollfd_wait,0,__VA_ARGS__)
 
#define spa_system_timerfd_create(s, ...)   spa_system_method_r(s,timerfd_create,0,__VA_ARGS__)
 
#define spa_system_timerfd_settime(s, ...)   spa_system_method_r(s,timerfd_settime,0,__VA_ARGS__)
 
#define spa_system_timerfd_gettime(s, ...)   spa_system_method_r(s,timerfd_gettime,0,__VA_ARGS__)
 
#define spa_system_timerfd_read(s, ...)   spa_system_method_r(s,timerfd_read,0,__VA_ARGS__)
 
#define spa_system_eventfd_create(s, ...)   spa_system_method_r(s,eventfd_create,0,__VA_ARGS__)
 
#define spa_system_eventfd_write(s, ...)   spa_system_method_r(s,eventfd_write,0,__VA_ARGS__)
 
#define spa_system_eventfd_read(s, ...)   spa_system_method_r(s,eventfd_read,0,__VA_ARGS__)
 
#define spa_system_signalfd_create(s, ...)   spa_system_method_r(s,signalfd_create,0,__VA_ARGS__)
 
#define spa_system_signalfd_read(s, ...)   spa_system_method_r(s,signalfd_read,0,__VA_ARGS__)
 

Detailed Description