PipeWire  0.2.7
interfaces.h File Reference
Include dependency graph for interfaces.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pw_core_proxy_methods
 Core methods. More...
 
struct  pw_core_proxy_events
 Core events. More...
 
struct  pw_registry_proxy_methods
 Registry methods. More...
 
struct  pw_registry_proxy_events
 Registry events. More...
 
struct  pw_module_proxy_events
 Module events. More...
 
struct  pw_node_proxy_events
 Node events. More...
 
struct  pw_node_proxy_methods
 Node methods. More...
 
struct  pw_port_proxy_events
 Port events. More...
 
struct  pw_port_proxy_methods
 Port methods. More...
 
struct  pw_factory_proxy_events
 Factory events. More...
 
struct  pw_client_proxy_events
 Client events. More...
 
struct  pw_link_proxy_events
 Link events. More...
 

Macros

#define PW_TYPE_INTERFACE__Core   PW_TYPE_INTERFACE_BASE "Core"
 Core. More...
 
#define PW_TYPE_INTERFACE__Registry   PW_TYPE_INTERFACE_BASE "Registry"
 
#define PW_TYPE_INTERFACE__Module   PW_TYPE_INTERFACE_BASE "Module"
 
#define PW_TYPE_INTERFACE__Node   PW_TYPE_INTERFACE_BASE "Node"
 
#define PW_TYPE_INTERFACE__Port   PW_TYPE_INTERFACE_BASE "Port"
 
#define PW_TYPE_INTERFACE__Client   PW_TYPE_INTERFACE_BASE "Client"
 
#define PW_TYPE_INTERFACE__Link   PW_TYPE_INTERFACE_BASE "Link"
 
#define PW_VERSION_CORE   0
 
#define PW_CORE_PROXY_METHOD_HELLO   0
 
#define PW_CORE_PROXY_METHOD_UPDATE_TYPES   1
 
#define PW_CORE_PROXY_METHOD_SYNC   2
 
#define PW_CORE_PROXY_METHOD_GET_REGISTRY   3
 
#define PW_CORE_PROXY_METHOD_CLIENT_UPDATE   4
 
#define PW_CORE_PROXY_METHOD_PERMISSIONS   5
 
#define PW_CORE_PROXY_METHOD_CREATE_OBJECT   6
 
#define PW_CORE_PROXY_METHOD_DESTROY   7
 
#define PW_CORE_PROXY_METHOD_NUM   8
 
#define PW_CORE_PROXY_PERMISSIONS_DEFAULT   "permissions.default"
 Key to update default permissions of globals without specific permissions. More...
 
#define PW_CORE_PROXY_PERMISSIONS_GLOBAL   "permissions.global"
 Key to update specific permissions of a global. More...
 
#define PW_CORE_PROXY_PERMISSIONS_EXISTING   "permissions.existing"
 Key to update specific permissions of all existing globals. More...
 
#define PW_LINK_OUTPUT_NODE_ID   "link.output_node.id"
 
#define PW_LINK_OUTPUT_PORT_ID   "link.output_port.id"
 
#define PW_LINK_INPUT_NODE_ID   "link.input_node.id"
 
#define PW_LINK_INPUT_PORT_ID   "link.input_port.id"
 
#define PW_VERSION_CORE_PROXY_METHODS   0
 
#define PW_CORE_PROXY_EVENT_UPDATE_TYPES   0
 
#define PW_CORE_PROXY_EVENT_DONE   1
 
#define PW_CORE_PROXY_EVENT_ERROR   2
 
#define PW_CORE_PROXY_EVENT_REMOVE_ID   3
 
#define PW_CORE_PROXY_EVENT_INFO   4
 
#define PW_CORE_PROXY_EVENT_NUM   5
 
#define PW_VERSION_CORE_PROXY_EVENTS   0
 
#define pw_core_resource_update_types(r,...)   pw_resource_notify(r,struct pw_core_proxy_events,update_types,__VA_ARGS__)
 
#define pw_core_resource_done(r,...)   pw_resource_notify(r,struct pw_core_proxy_events,done,__VA_ARGS__)
 
#define pw_core_resource_error(r,...)   pw_resource_notify(r,struct pw_core_proxy_events,error,__VA_ARGS__)
 
#define pw_core_resource_remove_id(r,...)   pw_resource_notify(r,struct pw_core_proxy_events,remove_id,__VA_ARGS__)
 
#define pw_core_resource_info(r,...)   pw_resource_notify(r,struct pw_core_proxy_events,info,__VA_ARGS__)
 
#define PW_VERSION_REGISTRY   0
 
#define PW_REGISTRY_PROXY_METHOD_BIND   0
 
#define PW_REGISTRY_PROXY_METHOD_NUM   1
 
#define PW_VERSION_REGISTRY_PROXY_METHODS   0
 
#define PW_REGISTRY_PROXY_EVENT_GLOBAL   0
 
#define PW_REGISTRY_PROXY_EVENT_GLOBAL_REMOVE   1
 
#define PW_REGISTRY_PROXY_EVENT_NUM   2
 
#define PW_VERSION_REGISTRY_PROXY_EVENTS   0
 
#define pw_registry_resource_global(r,...)   pw_resource_notify(r,struct pw_registry_proxy_events,global,__VA_ARGS__)
 
#define pw_registry_resource_global_remove(r,...)   pw_resource_notify(r,struct pw_registry_proxy_events,global_remove,__VA_ARGS__)
 
#define PW_VERSION_MODULE   0
 
#define PW_MODULE_PROXY_EVENT_INFO   0
 
#define PW_MODULE_PROXY_EVENT_NUM   1
 
#define PW_VERSION_MODULE_PROXY_EVENTS   0
 
#define pw_module_resource_info(r,...)   pw_resource_notify(r,struct pw_module_proxy_events,info,__VA_ARGS__)
 
#define PW_VERSION_NODE   0
 
#define PW_NODE_PROXY_EVENT_INFO   0
 
#define PW_NODE_PROXY_EVENT_PARAM   1
 
#define PW_NODE_PROXY_EVENT_NUM   2
 
#define PW_VERSION_NODE_PROXY_EVENTS   0
 
#define pw_node_resource_info(r,...)   pw_resource_notify(r,struct pw_node_proxy_events,info,__VA_ARGS__)
 
#define pw_node_resource_param(r,...)   pw_resource_notify(r,struct pw_node_proxy_events,param,__VA_ARGS__)
 
#define PW_NODE_PROXY_METHOD_ENUM_PARAMS   0
 
#define PW_NODE_PROXY_METHOD_NUM   1
 
#define PW_VERSION_NODE_PROXY_METHODS   0
 
#define PW_VERSION_PORT   0
 
#define PW_PORT_PROXY_EVENT_INFO   0
 
#define PW_PORT_PROXY_EVENT_PARAM   1
 
#define PW_PORT_PROXY_EVENT_NUM   2
 
#define PW_VERSION_PORT_PROXY_EVENTS   0
 
#define pw_port_resource_info(r,...)   pw_resource_notify(r,struct pw_port_proxy_events,info,__VA_ARGS__)
 
#define pw_port_resource_param(r,...)   pw_resource_notify(r,struct pw_port_proxy_events,param,__VA_ARGS__)
 
#define PW_PORT_PROXY_METHOD_ENUM_PARAMS   0
 
#define PW_PORT_PROXY_METHOD_NUM   1
 
#define PW_VERSION_PORT_PROXY_METHODS   0
 
#define PW_VERSION_FACTORY   0
 
#define PW_FACTORY_PROXY_EVENT_INFO   0
 
#define PW_FACTORY_PROXY_EVENT_NUM   1
 
#define PW_VERSION_FACTORY_PROXY_EVENTS   0
 
#define pw_factory_resource_info(r,...)   pw_resource_notify(r,struct pw_factory_proxy_events,info,__VA_ARGS__)
 
#define PW_VERSION_CLIENT   0
 
#define PW_CLIENT_PROXY_EVENT_INFO   0
 
#define PW_CLIENT_PROXY_EVENT_NUM   1
 
#define PW_VERSION_CLIENT_PROXY_EVENTS   0
 
#define pw_client_resource_info(r,...)   pw_resource_notify(r,struct pw_client_proxy_events,info,__VA_ARGS__)
 
#define PW_VERSION_LINK   0
 
#define PW_LINK_PROXY_EVENT_INFO   0
 
#define PW_LINK_PROXY_EVENT_NUM   1
 
#define PW_VERSION_LINK_PROXY_EVENTS   0
 
#define pw_link_resource_info(r,...)   pw_resource_notify(r,struct pw_link_proxy_events,info,__VA_ARGS__)
 

Macro Definition Documentation

#define PW_CLIENT_PROXY_EVENT_INFO   0
#define PW_CLIENT_PROXY_EVENT_NUM   1
#define pw_client_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_client_proxy_events,info,__VA_ARGS__)
#define PW_CORE_PROXY_EVENT_DONE   1
#define PW_CORE_PROXY_EVENT_ERROR   2
#define PW_CORE_PROXY_EVENT_INFO   4
#define PW_CORE_PROXY_EVENT_NUM   5
#define PW_CORE_PROXY_EVENT_REMOVE_ID   3
#define PW_CORE_PROXY_EVENT_UPDATE_TYPES   0
#define PW_CORE_PROXY_METHOD_CLIENT_UPDATE   4
#define PW_CORE_PROXY_METHOD_CREATE_OBJECT   6
#define PW_CORE_PROXY_METHOD_DESTROY   7
#define PW_CORE_PROXY_METHOD_GET_REGISTRY   3
#define PW_CORE_PROXY_METHOD_HELLO   0
#define PW_CORE_PROXY_METHOD_NUM   8
#define PW_CORE_PROXY_METHOD_PERMISSIONS   5
#define PW_CORE_PROXY_METHOD_SYNC   2
#define PW_CORE_PROXY_METHOD_UPDATE_TYPES   1
#define PW_CORE_PROXY_PERMISSIONS_DEFAULT   "permissions.default"

Key to update default permissions of globals without specific permissions.

value is "[r][w][x]"

Referenced by pw_client_update_permissions().

#define PW_CORE_PROXY_PERMISSIONS_EXISTING   "permissions.existing"

Key to update specific permissions of all existing globals.

This is equivalent to using PW_CORE_PROXY_PERMISSIONS_GLOBAL on each global id individually that did not have specific permissions. Value is "[r][w][x]"

Referenced by pw_client_update_permissions().

#define PW_CORE_PROXY_PERMISSIONS_GLOBAL   "permissions.global"

Key to update specific permissions of a global.

If the global did not have specific permissions, it will first be assigned the default permissions before it is updated. Value is "<global-id>:[r][w][x]"

Referenced by pw_client_update_permissions().

#define pw_core_resource_done (   r,
  ... 
)    pw_resource_notify(r,struct pw_core_proxy_events,done,__VA_ARGS__)
#define pw_core_resource_error (   r,
  ... 
)    pw_resource_notify(r,struct pw_core_proxy_events,error,__VA_ARGS__)
#define pw_core_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_core_proxy_events,info,__VA_ARGS__)
#define pw_core_resource_remove_id (   r,
  ... 
)    pw_resource_notify(r,struct pw_core_proxy_events,remove_id,__VA_ARGS__)

Referenced by pw_resource_destroy().

#define pw_core_resource_update_types (   r,
  ... 
)    pw_resource_notify(r,struct pw_core_proxy_events,update_types,__VA_ARGS__)
#define PW_FACTORY_PROXY_EVENT_INFO   0
#define PW_FACTORY_PROXY_EVENT_NUM   1
#define pw_factory_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_factory_proxy_events,info,__VA_ARGS__)
#define PW_LINK_INPUT_NODE_ID   "link.input_node.id"
#define PW_LINK_INPUT_PORT_ID   "link.input_port.id"
#define PW_LINK_OUTPUT_NODE_ID   "link.output_node.id"
#define PW_LINK_OUTPUT_PORT_ID   "link.output_port.id"
#define PW_LINK_PROXY_EVENT_INFO   0
#define PW_LINK_PROXY_EVENT_NUM   1
#define pw_link_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_link_proxy_events,info,__VA_ARGS__)
#define PW_MODULE_PROXY_EVENT_INFO   0
#define PW_MODULE_PROXY_EVENT_NUM   1
#define pw_module_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_module_proxy_events,info,__VA_ARGS__)
#define PW_NODE_PROXY_EVENT_INFO   0
#define PW_NODE_PROXY_EVENT_NUM   2
#define PW_NODE_PROXY_EVENT_PARAM   1
#define PW_NODE_PROXY_METHOD_ENUM_PARAMS   0
#define PW_NODE_PROXY_METHOD_NUM   1
#define pw_node_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_node_proxy_events,info,__VA_ARGS__)
#define pw_node_resource_param (   r,
  ... 
)    pw_resource_notify(r,struct pw_node_proxy_events,param,__VA_ARGS__)
#define PW_PORT_PROXY_EVENT_INFO   0
#define PW_PORT_PROXY_EVENT_NUM   2
#define PW_PORT_PROXY_EVENT_PARAM   1
#define PW_PORT_PROXY_METHOD_ENUM_PARAMS   0
#define PW_PORT_PROXY_METHOD_NUM   1
#define pw_port_resource_info (   r,
  ... 
)    pw_resource_notify(r,struct pw_port_proxy_events,info,__VA_ARGS__)
#define pw_port_resource_param (   r,
  ... 
)    pw_resource_notify(r,struct pw_port_proxy_events,param,__VA_ARGS__)
#define PW_REGISTRY_PROXY_EVENT_GLOBAL   0
#define PW_REGISTRY_PROXY_EVENT_GLOBAL_REMOVE   1
#define PW_REGISTRY_PROXY_EVENT_NUM   2
#define PW_REGISTRY_PROXY_METHOD_BIND   0
#define PW_REGISTRY_PROXY_METHOD_NUM   1
#define pw_registry_resource_global (   r,
  ... 
)    pw_resource_notify(r,struct pw_registry_proxy_events,global,__VA_ARGS__)
#define pw_registry_resource_global_remove (   r,
  ... 
)    pw_resource_notify(r,struct pw_registry_proxy_events,global_remove,__VA_ARGS__)
#define PW_TYPE_INTERFACE__Client   PW_TYPE_INTERFACE_BASE "Client"

Referenced by pw_type::pw_type_init().

#define PW_TYPE_INTERFACE__Core   PW_TYPE_INTERFACE_BASE "Core"

Core.

Referenced by pw_type::pw_type_init().

#define PW_TYPE_INTERFACE__Link   PW_TYPE_INTERFACE_BASE "Link"

Referenced by pw_type::pw_type_init().

#define PW_TYPE_INTERFACE__Module   PW_TYPE_INTERFACE_BASE "Module"

Referenced by pw_type::pw_type_init().

#define PW_TYPE_INTERFACE__Node   PW_TYPE_INTERFACE_BASE "Node"

Referenced by pw_type::pw_type_init().

#define PW_TYPE_INTERFACE__Port   PW_TYPE_INTERFACE_BASE "Port"

Referenced by pw_type::pw_type_init().

#define PW_TYPE_INTERFACE__Registry   PW_TYPE_INTERFACE_BASE "Registry"

Referenced by pw_type::pw_type_init().

#define PW_VERSION_CLIENT   0

Referenced by pw_client_register().

#define PW_VERSION_CLIENT_PROXY_EVENTS   0
#define PW_VERSION_CORE   0

Referenced by pw_core::pw_core_new().

#define PW_VERSION_CORE_PROXY_EVENTS   0
#define PW_VERSION_CORE_PROXY_METHODS   0
#define PW_VERSION_FACTORY   0

Referenced by pw_factory_register().

#define PW_VERSION_FACTORY_PROXY_EVENTS   0
#define PW_VERSION_LINK   0

Referenced by pw_link_register().

#define PW_VERSION_LINK_PROXY_EVENTS   0
#define PW_VERSION_MODULE   0
#define PW_VERSION_MODULE_PROXY_EVENTS   0
#define PW_VERSION_NODE   0

Referenced by pw_node_register().

#define PW_VERSION_NODE_PROXY_EVENTS   0
#define PW_VERSION_NODE_PROXY_METHODS   0
#define PW_VERSION_PORT   0

Referenced by pw_port_register().

#define PW_VERSION_PORT_PROXY_EVENTS   0
#define PW_VERSION_PORT_PROXY_METHODS   0
#define PW_VERSION_REGISTRY   0
#define PW_VERSION_REGISTRY_PROXY_EVENTS   0
#define PW_VERSION_REGISTRY_PROXY_METHODS   0