X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fexecute.h;h=9c1f249cd4a59e5ddb655ae85e3f4f2945b08cee;hb=671174136525ddf208cdbe75d6d6bd159afa961f;hp=f31f0c9f27efba8eb9f5f1dd7ed7a73be6397e20;hpb=9fa95f8539a380e93f760956bc6982e57f5bf3af;p=elogind.git diff --git a/src/core/execute.h b/src/core/execute.h index f31f0c9f2..9c1f249cd 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -41,6 +41,7 @@ typedef struct ExecParameters ExecParameters; #include "fdset.h" #include "missing.h" #include "namespace.h" +#include "bus-endpoint.h" typedef enum ExecInput { EXEC_INPUT_NULL, @@ -188,6 +189,9 @@ struct ExecContext { bool ioprio_set:1; bool cpu_sched_set:1; bool no_new_privileges_set:1; + + /* custom dbus enpoint */ + BusEndpoint *bus_endpoint; }; #include "cgroup.h" @@ -206,6 +210,8 @@ struct ExecParameters { const char *unit_id; usec_t watchdog_usec; int *idle_pipe; + char *bus_endpoint_path; + int bus_endpoint_fd; }; int exec_spawn(ExecCommand *command,