chiark / gitweb /
update TODO
[elogind.git] / src / systemd / sd-bus.h
index f792bfaf6cb0731efaa1b01bfca5a8522bdcc3e4..122ec954ca4b5b92d016f1c75e2244765dd5ad57 100644 (file)
@@ -33,6 +33,9 @@ extern "C" {
 #endif
 
 /* TODO:
+ * - allow registration/removl of callbacks from within callbacks
+ * - don't allow recursive processing
+ *
  * - add page donation logic
  * - api for appending/reading fixed arrays
  * - merge busctl into systemctl or so?
@@ -57,7 +60,7 @@ int sd_bus_open_user(sd_bus **ret);
 
 int sd_bus_new(sd_bus **ret);
 int sd_bus_set_address(sd_bus *bus, const char *address);
-int sd_bus_set_fd(sd_bus *bus, int fd);
+int sd_bus_set_fd(sd_bus *bus, int input_fd, int output_fd);
 int sd_bus_set_exec(sd_bus *bus, const char *path, char *const argv[]);
 int sd_bus_set_bus_client(sd_bus *bus, int b);
 int sd_bus_set_server(sd_bus *bus, int b, sd_id128_t server_id);