summaryrefslogtreecommitdiff
path: root/manager.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>2010-05-09 18:44:11 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-09 18:46:10 +0200
commit07b0b134d3076fe223d6e15959b6081a74b56792 (patch)
treec768259278d9436d553587c284be22d32f788175 /manager.h
parentaf5bc85dc1297079edc9890861aaa38de0ec30df (diff)
swap: add .swap unit type
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;