summaryrefslogtreecommitdiffstats
path: root/lib/client.h
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-08 11:18:08 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2021-07-28 13:19:02 +0300
commita2a3f6912e60c7932bad87a6d2249f0e83e637e1 (patch)
tree26a0ca7ac799c06ece9d657b634b3fea00ea6c6e /lib/client.h
parent6804d3b2a2a93fa5113c962878867b373c0358f7 (diff)
style: convert code to systemd coding style
https://systemd.io/CODING_STYLE/ Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Diffstat (limited to 'lib/client.h')
-rw-r--r--lib/client.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/lib/client.h b/lib/client.h
index 7ac8e1a..597552c 100644
--- a/lib/client.h
+++ b/lib/client.h
@@ -25,29 +25,27 @@ extern "C" {
struct icipc_client;
ICIPC_API
-struct icipc_client *
-icipc_client_new (const char *path, bool connect);
+struct icipc_client *icipc_client_new(const char *path, bool connect);
ICIPC_API
-void
-icipc_client_free (struct icipc_client *self);
+void icipc_client_free(struct icipc_client *self);
ICIPC_API
-bool
-icipc_client_send_request (struct icipc_client *self,
- const char *name,
- const struct spa_pod *args,
- icipc_sender_reply_func_t reply,
- void *data);
+bool icipc_client_send_request(
+ struct icipc_client *self,
+ const char *name,
+ const struct spa_pod *args,
+ icipc_sender_reply_func_t reply,
+ void *data);
/* for reply handlers only */
ICIPC_API
-const struct spa_pod *
-icipc_client_send_request_finish (struct icipc_sender *self,
- const uint8_t *buffer,
- size_t size,
- const char **error);
+const struct spa_pod *icipc_client_send_request_finish(
+ struct icipc_sender *self,
+ const uint8_t *buffer,
+ size_t size,
+ const char **error);
#ifdef __cplusplus
}