PipeWire 0.2.5

Data Structures | Macros
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

## ◆ PW_CLIENT_PROXY_EVENT_INFO

#define PW_CLIENT_PROXY_EVENT_INFO 0

## ◆ PW_CLIENT_PROXY_EVENT_NUM

#define PW_CLIENT_PROXY_EVENT_NUM 1

## ◆ pw_client_resource_info

#define pw_client_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_client_proxy_events,info,__VA_ARGS__)

Referenced by pw_client::pw_client_update_properties().

## ◆ PW_CORE_PROXY_EVENT_DONE

#define PW_CORE_PROXY_EVENT_DONE 1

## ◆ PW_CORE_PROXY_EVENT_ERROR

#define PW_CORE_PROXY_EVENT_ERROR 2

## ◆ PW_CORE_PROXY_EVENT_INFO

#define PW_CORE_PROXY_EVENT_INFO 4

## ◆ PW_CORE_PROXY_EVENT_NUM

#define PW_CORE_PROXY_EVENT_NUM 5

## ◆ PW_CORE_PROXY_EVENT_REMOVE_ID

#define PW_CORE_PROXY_EVENT_REMOVE_ID 3

## ◆ PW_CORE_PROXY_EVENT_UPDATE_TYPES

#define PW_CORE_PROXY_EVENT_UPDATE_TYPES 0

## ◆ PW_CORE_PROXY_METHOD_CLIENT_UPDATE

#define PW_CORE_PROXY_METHOD_CLIENT_UPDATE 4

## ◆ PW_CORE_PROXY_METHOD_CREATE_OBJECT

#define PW_CORE_PROXY_METHOD_CREATE_OBJECT 6

## ◆ PW_CORE_PROXY_METHOD_DESTROY

#define PW_CORE_PROXY_METHOD_DESTROY 7

## ◆ PW_CORE_PROXY_METHOD_GET_REGISTRY

#define PW_CORE_PROXY_METHOD_GET_REGISTRY 3

## ◆ PW_CORE_PROXY_METHOD_HELLO

#define PW_CORE_PROXY_METHOD_HELLO 0

## ◆ PW_CORE_PROXY_METHOD_NUM

#define PW_CORE_PROXY_METHOD_NUM 8

## ◆ PW_CORE_PROXY_METHOD_PERMISSIONS

#define PW_CORE_PROXY_METHOD_PERMISSIONS 5

## ◆ PW_CORE_PROXY_METHOD_SYNC

#define PW_CORE_PROXY_METHOD_SYNC 2

## ◆ PW_CORE_PROXY_METHOD_UPDATE_TYPES

#define PW_CORE_PROXY_METHOD_UPDATE_TYPES 1

## ◆ PW_CORE_PROXY_PERMISSIONS_DEFAULT

#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().

## ◆ PW_CORE_PROXY_PERMISSIONS_EXISTING

#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]"

## ◆ PW_CORE_PROXY_PERMISSIONS_GLOBAL

#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]"

## ◆ pw_core_resource_done

#define pw_core_resource_done | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_core_proxy_events,done,__VA_ARGS__)

## ◆ pw_core_resource_error

#define pw_core_resource_error | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_core_proxy_events,error,__VA_ARGS__)

Referenced by pw_global::pw_global_bind(), and pw_resource_error().

## ◆ pw_core_resource_info

#define pw_core_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_core_proxy_events,info,__VA_ARGS__)

Referenced by pw_core::pw_core_update_properties().

## ◆ pw_core_resource_remove_id

#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().

## ◆ pw_core_resource_update_types

#define pw_core_resource_update_types | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_core_proxy_events,update_types,__VA_ARGS__)

## ◆ PW_FACTORY_PROXY_EVENT_INFO

#define PW_FACTORY_PROXY_EVENT_INFO 0

## ◆ PW_FACTORY_PROXY_EVENT_NUM

#define PW_FACTORY_PROXY_EVENT_NUM 1

## ◆ pw_factory_resource_info

#define pw_factory_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_factory_proxy_events,info,__VA_ARGS__)

## ◆ PW_LINK_INPUT_NODE_ID

#define PW_LINK_INPUT_NODE_ID "link.input_node.id"

## ◆ PW_LINK_INPUT_PORT_ID

#define PW_LINK_INPUT_PORT_ID "link.input_port.id"

## ◆ PW_LINK_OUTPUT_NODE_ID

#define PW_LINK_OUTPUT_NODE_ID "link.output_node.id"

## ◆ PW_LINK_OUTPUT_PORT_ID

#define PW_LINK_OUTPUT_PORT_ID "link.output_port.id"

## ◆ PW_LINK_PROXY_EVENT_INFO

#define PW_LINK_PROXY_EVENT_INFO 0

## ◆ PW_LINK_PROXY_EVENT_NUM

#define PW_LINK_PROXY_EVENT_NUM 1

## ◆ pw_link_resource_info

#define pw_link_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_link_proxy_events,info,__VA_ARGS__)

## ◆ PW_MODULE_PROXY_EVENT_INFO

#define PW_MODULE_PROXY_EVENT_INFO 0

## ◆ PW_MODULE_PROXY_EVENT_NUM

#define PW_MODULE_PROXY_EVENT_NUM 1

## ◆ pw_module_resource_info

#define pw_module_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_module_proxy_events,info,__VA_ARGS__)

## ◆ PW_NODE_PROXY_EVENT_INFO

#define PW_NODE_PROXY_EVENT_INFO 0

## ◆ PW_NODE_PROXY_EVENT_NUM

#define PW_NODE_PROXY_EVENT_NUM 2

## ◆ PW_NODE_PROXY_EVENT_PARAM

#define PW_NODE_PROXY_EVENT_PARAM 1

## ◆ PW_NODE_PROXY_METHOD_ENUM_PARAMS

#define PW_NODE_PROXY_METHOD_ENUM_PARAMS 0

## ◆ PW_NODE_PROXY_METHOD_NUM

#define PW_NODE_PROXY_METHOD_NUM 1

## ◆ pw_node_resource_info

#define pw_node_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_node_proxy_events,info,__VA_ARGS__)

## ◆ pw_node_resource_param

#define pw_node_resource_param | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_node_proxy_events,param,__VA_ARGS__)

## ◆ PW_PORT_PROXY_EVENT_INFO

#define PW_PORT_PROXY_EVENT_INFO 0

## ◆ PW_PORT_PROXY_EVENT_NUM

#define PW_PORT_PROXY_EVENT_NUM 2

## ◆ PW_PORT_PROXY_EVENT_PARAM

#define PW_PORT_PROXY_EVENT_PARAM 1

## ◆ PW_PORT_PROXY_METHOD_ENUM_PARAMS

#define PW_PORT_PROXY_METHOD_ENUM_PARAMS 0

## ◆ PW_PORT_PROXY_METHOD_NUM

#define PW_PORT_PROXY_METHOD_NUM 1

## ◆ pw_port_resource_info

#define pw_port_resource_info | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_port_proxy_events,info,__VA_ARGS__)

Referenced by pw_port_update_properties().

## ◆ pw_port_resource_param

#define pw_port_resource_param | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_port_proxy_events,param,__VA_ARGS__)

## ◆ PW_REGISTRY_PROXY_EVENT_GLOBAL

#define PW_REGISTRY_PROXY_EVENT_GLOBAL 0

## ◆ PW_REGISTRY_PROXY_EVENT_GLOBAL_REMOVE

#define PW_REGISTRY_PROXY_EVENT_GLOBAL_REMOVE 1

## ◆ PW_REGISTRY_PROXY_EVENT_NUM

#define PW_REGISTRY_PROXY_EVENT_NUM 2

## ◆ PW_REGISTRY_PROXY_METHOD_BIND

#define PW_REGISTRY_PROXY_METHOD_BIND 0

## ◆ PW_REGISTRY_PROXY_METHOD_NUM

#define PW_REGISTRY_PROXY_METHOD_NUM 1

## ◆ pw_registry_resource_global

#define pw_registry_resource_global | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_registry_proxy_events,global,__VA_ARGS__)

Referenced by pw_global::pw_global_register().

## ◆ pw_registry_resource_global_remove

#define pw_registry_resource_global_remove | ( |  | r,
|  |  | ...
| ) |  | pw_resource_notify(r,struct pw_registry_proxy_events,global_remove,__VA_ARGS__)

Referenced by pw_global::pw_global_destroy().

## ◆ PW_TYPE_INTERFACE__Client

#define PW_TYPE_INTERFACE__Client PW_TYPE_INTERFACE_BASE "Client"

Referenced by pw_type::pw_type_init().

## ◆ PW_TYPE_INTERFACE__Core

#define PW_TYPE_INTERFACE__Core PW_TYPE_INTERFACE_BASE "Core"

Core.

Referenced by pw_type::pw_type_init().

## ◆ PW_TYPE_INTERFACE__Link

#define PW_TYPE_INTERFACE__Link PW_TYPE_INTERFACE_BASE "Link"

Referenced by pw_type::pw_type_init().

## ◆ PW_TYPE_INTERFACE__Module

#define PW_TYPE_INTERFACE__Module PW_TYPE_INTERFACE_BASE "Module"

Referenced by pw_type::pw_type_init().

## ◆ PW_TYPE_INTERFACE__Node

#define PW_TYPE_INTERFACE__Node PW_TYPE_INTERFACE_BASE "Node"

Referenced by pw_type::pw_type_init().

## ◆ PW_TYPE_INTERFACE__Port

#define PW_TYPE_INTERFACE__Port PW_TYPE_INTERFACE_BASE "Port"

Referenced by pw_type::pw_type_init().

## ◆ PW_TYPE_INTERFACE__Registry

#define PW_TYPE_INTERFACE__Registry PW_TYPE_INTERFACE_BASE "Registry"

Referenced by pw_type::pw_type_init().

## ◆ PW_VERSION_CLIENT

#define PW_VERSION_CLIENT 0

Referenced by pw_client_register().

## ◆ PW_VERSION_CLIENT_PROXY_EVENTS

#define PW_VERSION_CLIENT_PROXY_EVENTS 0

## ◆ PW_VERSION_CORE

#define PW_VERSION_CORE 0

Referenced by pw_core::pw_core_new().

## ◆ PW_VERSION_CORE_PROXY_EVENTS

#define PW_VERSION_CORE_PROXY_EVENTS 0

## ◆ PW_VERSION_CORE_PROXY_METHODS

#define PW_VERSION_CORE_PROXY_METHODS 0

## ◆ PW_VERSION_FACTORY

#define PW_VERSION_FACTORY 0

Referenced by pw_factory_register().

## ◆ PW_VERSION_FACTORY_PROXY_EVENTS

#define PW_VERSION_FACTORY_PROXY_EVENTS 0

## ◆ PW_VERSION_LINK

#define PW_VERSION_LINK 0

Referenced by pw_link_register().

## ◆ PW_VERSION_LINK_PROXY_EVENTS

#define PW_VERSION_LINK_PROXY_EVENTS 0

## ◆ PW_VERSION_MODULE

#define PW_VERSION_MODULE 0

## ◆ PW_VERSION_MODULE_PROXY_EVENTS

#define PW_VERSION_MODULE_PROXY_EVENTS 0

## ◆ PW_VERSION_NODE

#define PW_VERSION_NODE 0

## ◆ PW_VERSION_NODE_PROXY_EVENTS

#define PW_VERSION_NODE_PROXY_EVENTS 0

## ◆ PW_VERSION_NODE_PROXY_METHODS

#define PW_VERSION_NODE_PROXY_METHODS 0

## ◆ PW_VERSION_PORT

#define PW_VERSION_PORT 0

Referenced by pw_port_register().

## ◆ PW_VERSION_PORT_PROXY_EVENTS

#define PW_VERSION_PORT_PROXY_EVENTS 0

## ◆ PW_VERSION_PORT_PROXY_METHODS

#define PW_VERSION_PORT_PROXY_METHODS 0

## ◆ PW_VERSION_REGISTRY

#define PW_VERSION_REGISTRY 0

## ◆ PW_VERSION_REGISTRY_PROXY_EVENTS

#define PW_VERSION_REGISTRY_PROXY_EVENTS 0

## ◆ PW_VERSION_REGISTRY_PROXY_METHODS

#define PW_VERSION_REGISTRY_PROXY_METHODS 0