[systemd-devel] [PATCH 01/12] test: export kdbus_hello_registrar()
Djalal Harouni
tixxdz at opendz.org
Fri Jun 20 09:49:55 PDT 2014
Export this function since we will use it to register policy holders
connections.
Signed-off-by: Djalal Harouni <tixxdz at opendz.org>
---
test/kdbus-util.c | 2 +-
test/kdbus-util.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/kdbus-util.c b/test/kdbus-util.c
index 7a6f272..988aa8c 100644
--- a/test/kdbus-util.c
+++ b/test/kdbus-util.c
@@ -109,7 +109,7 @@ struct conn *kdbus_hello(const char *path, uint64_t flags)
return __kdbus_hello(path, flags, NULL, 0);
}
-static struct conn *
+struct conn *
kdbus_hello_registrar(const char *path, const char *name,
const struct kdbus_policy_access *access,
size_t num_access, uint64_t flags)
diff --git a/test/kdbus-util.h b/test/kdbus-util.h
index fde3f77..9771622 100644
--- a/test/kdbus-util.h
+++ b/test/kdbus-util.h
@@ -45,6 +45,9 @@ char *msg_id(uint64_t id, char *buf);
int msg_send(const struct conn *conn, const char *name, uint64_t cookie,
uint64_t flags, uint64_t timeout, int64_t priority, uint64_t dst_id);
struct conn *kdbus_hello(const char *path, uint64_t hello_flags);
+struct conn *kdbus_hello_registrar(const char *path, const char *name,
+ const struct kdbus_policy_access *access,
+ size_t num_access, uint64_t flags);
struct conn *kdbus_hello_activator(const char *path, const char *name,
const struct kdbus_policy_access *access,
size_t num_access);
--
1.9.0
More information about the systemd-devel
mailing list