PipeWire 0.3.38
module-protocol-native.c File Reference
Include dependency graph for module-protocol-native.c:

Data Structures

struct  protocol_data
 
struct  client
 
struct  server
 
struct  client_data
 

Macros

#define NAME   "protocol-native"
 
#define PW_LOG_TOPIC_DEFAULT   mod_topic
 
#define spa_debug(...)   pw_logt_debug(mod_topic_connection, __VA_ARGS__)
 
#define UNIX_PATH_MAX   108
 
#define SO_PEERSEC   31
 
#define LOCK_SUFFIX   ".lock"
 
#define LOCK_SUFFIXLEN   5
 

Functions

 PW_LOG_TOPIC (mod_topic, "mod." NAME)
 
 PW_LOG_TOPIC (mod_topic_connection, "conn." NAME)
 
void pw_protocol_native_init (struct pw_protocol *protocol)
 
void pw_protocol_native0_init (struct pw_protocol *protocol)
 
int pipewire__module_init (struct pw_impl_module *module, const char *args)
 

Macro Definition Documentation

◆ LOCK_SUFFIX

#define LOCK_SUFFIX   ".lock"

◆ LOCK_SUFFIXLEN

#define LOCK_SUFFIXLEN   5

◆ NAME

#define NAME   "protocol-native"

◆ PW_LOG_TOPIC_DEFAULT

#define PW_LOG_TOPIC_DEFAULT   mod_topic

◆ SO_PEERSEC

#define SO_PEERSEC   31

◆ spa_debug

#define spa_debug (   ...)    pw_logt_debug(mod_topic_connection, __VA_ARGS__)

◆ UNIX_PATH_MAX

#define UNIX_PATH_MAX   108

Function Documentation

◆ pipewire__module_init()

int pipewire__module_init ( struct pw_impl_module *  module,
const char *  args 
)

◆ PW_LOG_TOPIC() [1/2]

PW_LOG_TOPIC ( mod_topic  ,
"mod."  NAME 
)

◆ PW_LOG_TOPIC() [2/2]

PW_LOG_TOPIC ( mod_topic_connection  ,
"conn."  NAME 
)

◆ pw_protocol_native0_init()

void pw_protocol_native0_init ( struct pw_protocol *  protocol)

◆ pw_protocol_native_init()

void pw_protocol_native_init ( struct pw_protocol *  protocol)