summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'manager.h')
-rw-r--r--manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/manager.h b/manager.h
index 0a09430f56..b6b6926bd8 100644
--- a/manager.h
+++ b/manager.h
@@ -99,6 +99,7 @@ struct Watch {
#define SPECIAL_LOCAL_FS_TARGET "local-fs.target"
#define SPECIAL_REMOTE_FS_TARGET "remote-fs.target"
+#define SPECIAL_SWAP_TARGET "swap.target"
#define SPECIAL_NETWORK_TARGET "network.target"
#define SPECIAL_NSS_LOOKUP_TARGET "nss-lookup.target" /* LSB's $named */
#define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap */
@@ -187,6 +188,9 @@ struct Manager {
FILE *proc_self_mountinfo;
Watch mount_watch;
+ /* Data specific to the swap filesystem */
+ FILE *proc_swaps;
+
/* Data specific to the D-Bus subsystem */
DBusConnection *api_bus, *system_bus;
Set *subscribed;