X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fswap.h;h=3482d651ecfef61314ca5a9fb6daf9fb09f78ad7;hb=9f103625b145a397e67c3714766775b615c8b587;hp=3005abb2d25bce64d4b5e7a5978b0cbdf937ed62;hpb=9670d583d381d4c2c7f4d80de63bee7ad54fef44;p=elogind.git diff --git a/src/core/swap.h b/src/core/swap.h index 3005abb2d..3482d651e 100644 --- a/src/core/swap.h +++ b/src/core/swap.h @@ -63,6 +63,7 @@ typedef enum SwapResult { typedef struct SwapParameters { char *what; + char *discard; int priority; bool noauto:1; bool nofail:1; @@ -98,6 +99,8 @@ struct Swap { KillContext kill_context; CGroupContext cgroup_context; + ExecRuntime *exec_runtime; + SwapState state, deserialized_state; ExecCommand* control_command;