X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd%2Fsd-bus.h;h=122ec954ca4b5b92d016f1c75e2244765dd5ad57;hp=f792bfaf6cb0731efaa1b01bfca5a8522bdcc3e4;hb=d1148ed10a474ccc949113a8ec06e7e29c4c7cb0;hpb=a7edaadd78271e1c35ff9032f068cb08de645437 diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h index f792bfaf6..122ec954c 100644 --- a/src/systemd/sd-bus.h +++ b/src/systemd/sd-bus.h @@ -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);