From 07b0b134d3076fe223d6e15959b6081a74b56792 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Sun, 9 May 2010 18:44:11 +0200 Subject: swap: add .swap unit type --- manager.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manager.h') 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; -- cgit v1.2.3-54-g00ecf