chiark / gitweb /
Prep v228: Substitute declaration masks (3/4)
[elogind.git] / src / libelogind / sd-bus / bus-kernel.h
index 7086f93190bdc021e0ad1d9f190c24695c817403..43f0febfcd66500a9c803c10c6d09ab2875c7e83 100644 (file)
@@ -71,8 +71,11 @@ int bus_kernel_read_message(sd_bus *bus, bool hint_priority, int64_t priority);
 
 int bus_kernel_open_bus_fd(const char *bus, char **path);
 
-// UNNEEDED int bus_kernel_create_bus(const char *name, bool world, char **s);
-// UNNEEDED int bus_kernel_create_endpoint(const char *bus_name, const char *ep_name, char **path);
+/// UNNEEDED by elogind
+#if 0
+int bus_kernel_create_bus(const char *name, bool world, char **s);
+int bus_kernel_create_endpoint(const char *bus_name, const char *ep_name, char **path);
+#endif // 0
 
 int bus_kernel_pop_memfd(sd_bus *bus, void **address, size_t *mapped, size_t *allocated);
 void bus_kernel_push_memfd(sd_bus *bus, int fd, void *address, size_t mapped, size_t allocated);
@@ -86,7 +89,10 @@ uint64_t attach_flags_to_kdbus(uint64_t sd_bus_flags);
 
 int bus_kernel_try_close(sd_bus *bus);
 
-// UNNEEDED int bus_kernel_drop_one(int fd);
+/// UNNEEDED by elogind
+#if 0
+int bus_kernel_drop_one(int fd);
+#endif // 0
 
 int bus_kernel_realize_attach_flags(sd_bus *bus);