protocol: add flags to protocol marshal

Allows us to to select marshallers for implementation and binding.
This commit is contained in:
Wim Taymans 2019-11-03 10:21:57 +01:00
parent d1e331e268
commit 8ddf579cc0
11 changed files with 150 additions and 92 deletions

View file

@ -703,6 +703,7 @@ struct pw_proxy {
struct pw_remote *remote; /**< the owner remote of this proxy */
uint32_t id; /**< client side id */
uint32_t type; /**< type of the interface */
uint32_t version; /**< client side version */
int refcount;
unsigned int zombie:1; /**< proxy is removed locally and waiting to
@ -885,6 +886,9 @@ pw_core_find_port(struct pw_core *core,
const struct pw_export_type *pw_core_find_export_type(struct pw_core *core, uint32_t type);
int pw_proxy_install_marshal(struct pw_proxy *proxy, bool implementor);
int pw_resource_install_marshal(struct pw_resource *resource, bool implementor);
int pw_core_recalc_graph(struct pw_core *core);
/** Create a new port \memberof pw_port