Files
wireplumber/lib/wp/client.h
Pauli Virtanen bf082964d4 client: add wp_client_update_properties
Add Wp interface function for pw_client_update_properties.
2023-10-15 21:27:14 +00:00

43 lines
888 B
C

/* WirePlumber
*
* Copyright © 2019 Collabora Ltd.
* @author George Kiagiadakis <george.kiagiadakis@collabora.com>
*
* SPDX-License-Identifier: MIT
*/
#ifndef __WIREPLUMBER_CLIENT_H__
#define __WIREPLUMBER_CLIENT_H__
#include "global-proxy.h"
G_BEGIN_DECLS
struct pw_permission;
/*!
* \brief The WpClient GType
* \ingroup wpclient
*/
#define WP_TYPE_CLIENT (wp_client_get_type ())
WP_API
G_DECLARE_FINAL_TYPE (WpClient, wp_client, WP, CLIENT, WpGlobalProxy)
WP_API
void wp_client_send_error (WpClient * self, guint32 id, int res,
const gchar * message);
WP_API
void wp_client_update_permissions (WpClient * self, guint n_perm, ...);
WP_API
void wp_client_update_permissions_array (WpClient * self,
guint n_perm, const struct pw_permission *permissions);
WP_API
void wp_client_update_properties (WpClient * self, WpProperties * updates);
G_END_DECLS
#endif