summaryrefslogtreecommitdiff
path: root/src/core/busname.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-03-17 11:41:21 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-19 02:25:36 +0100
commit5892a914d173e4b968d2a14fbf717373dee3999a (patch)
treeca7305c322b9f7544d888e4cfac6de93cca8ac5f /src/core/busname.h
parentec8408740a32888f0bbbdcb79ccfbf550b12f19f (diff)
busname: introduce Activating directive
Add a new config 'Activating' directive which denotes whether a busname is actually registered on the bus. It defaults to 'yes'. If set to 'no', the .busname unit only uploads policy, which will remain active as long as the unit is running.
Diffstat (limited to 'src/core/busname.h')
-rw-r--r--src/core/busname.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/busname.h b/src/core/busname.h
index 7f591974de..0009c6a65e 100644
--- a/src/core/busname.h
+++ b/src/core/busname.h
@@ -28,6 +28,7 @@ typedef struct BusNamePolicy BusNamePolicy;
typedef enum BusNameState {
BUSNAME_DEAD,
+ BUSNAME_REGISTERED,
BUSNAME_LISTENING,
BUSNAME_RUNNING,
BUSNAME_FAILED,
@@ -48,6 +49,7 @@ struct BusName {
char *name;
int starter_fd;
+ bool activating;
UnitRef service;