PipeWire  1.4.11
Security Context

Security Context interface. More...

Files

file  security-context.h
 pipewire/extensions/security-context.h
 

Data Structures

struct  pw_security_context_events
 Security Context events More...
 
struct  pw_security_context_methods
 Security Context methods More...
 
struct  pw_security_context
 

Macros

#define PW_TYPE_INTERFACE_SecurityContext   PW_TYPE_INFO_INTERFACE_BASE "SecurityContext"
 
#define PW_SECURITY_CONTEXT_PERM_MASK   PW_PERM_RWX
 
#define PW_VERSION_SECURITY_CONTEXT   3
 
#define PW_API_SECURITY_CONTEXT   static inline
 
#define PW_EXTENSION_MODULE_SECURITY_CONTEXT   PIPEWIRE_MODULE_PREFIX "module-security-context"
 
#define PW_SECURITY_CONTEXT_EVENT_NUM   0
 
#define PW_VERSION_SECURITY_CONTEXT_EVENTS   0
 
#define PW_SECURITY_CONTEXT_METHOD_ADD_LISTENER   0
 
#define PW_SECURITY_CONTEXT_METHOD_CREATE   1
 
#define PW_SECURITY_CONTEXT_METHOD_NUM   2
 
#define PW_VERSION_SECURITY_CONTEXT_METHODS   0
 

Functions

PW_API_SECURITY_CONTEXT int pw_security_context_add_listener (struct pw_security_context *object, struct spa_hook *listener, const struct pw_security_context_events *events, void *data)
 
PW_API_SECURITY_CONTEXT int pw_security_context_create (struct pw_security_context *object, int listen_fd, int close_fd, const struct spa_dict *props)
 

Detailed Description

Security Context interface.

Macro Definition Documentation

◆ PW_TYPE_INTERFACE_SecurityContext

#define PW_TYPE_INTERFACE_SecurityContext   PW_TYPE_INFO_INTERFACE_BASE "SecurityContext"

◆ PW_SECURITY_CONTEXT_PERM_MASK

#define PW_SECURITY_CONTEXT_PERM_MASK   PW_PERM_RWX

◆ PW_VERSION_SECURITY_CONTEXT

#define PW_VERSION_SECURITY_CONTEXT   3

◆ PW_API_SECURITY_CONTEXT

#define PW_API_SECURITY_CONTEXT   static inline

◆ PW_EXTENSION_MODULE_SECURITY_CONTEXT

#define PW_EXTENSION_MODULE_SECURITY_CONTEXT   PIPEWIRE_MODULE_PREFIX "module-security-context"

◆ PW_SECURITY_CONTEXT_EVENT_NUM

#define PW_SECURITY_CONTEXT_EVENT_NUM   0

◆ PW_VERSION_SECURITY_CONTEXT_EVENTS

#define PW_VERSION_SECURITY_CONTEXT_EVENTS   0

◆ PW_SECURITY_CONTEXT_METHOD_ADD_LISTENER

#define PW_SECURITY_CONTEXT_METHOD_ADD_LISTENER   0

◆ PW_SECURITY_CONTEXT_METHOD_CREATE

#define PW_SECURITY_CONTEXT_METHOD_CREATE   1

◆ PW_SECURITY_CONTEXT_METHOD_NUM

#define PW_SECURITY_CONTEXT_METHOD_NUM   2

◆ PW_VERSION_SECURITY_CONTEXT_METHODS

#define PW_VERSION_SECURITY_CONTEXT_METHODS   0

Function Documentation

◆ pw_security_context_add_listener()

PW_API_SECURITY_CONTEXT int pw_security_context_add_listener ( struct pw_security_context object,
struct spa_hook listener,
const struct pw_security_context_events events,
void *  data 
)

◆ pw_security_context_create()

PW_API_SECURITY_CONTEXT int pw_security_context_create ( struct pw_security_context object,
int  listen_fd,
int  close_fd,
const struct spa_dict props 
)