diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-13 03:07:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-13 03:07:16 +0200 |
commit | 6e2ef85b2572af82a0ce035516d65218bdc80fa4 (patch) | |
tree | 3c677c6168301ddd8762186bac7f8bcf1288f46c /swap.h | |
parent | afb757b1a8a416b3c692728330a266b3915eef41 (diff) |
units: rework automatic dependency logic between automounts, mounts, sockets, swaps
Diffstat (limited to 'swap.h')
-rw-r--r-- | swap.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -47,14 +47,17 @@ struct Swap { bool from_proc_swaps_only:1; bool found_in_proc_swaps:1; - MountState state, deserialized_state; + SwapState state, deserialized_state; }; extern const UnitVTable swap_vtable; +int swap_add_one(Manager *m, const char *what, bool no_auto, int prio, bool from_proc_swap); + +int swap_add_one_mount_link(Swap *s, Mount *m); + const char* swap_state_to_string(SwapState i); SwapState swap_state_from_string(const char *s); -extern int swap_add_one(Manager *m, const char *what, bool no_auto, int prio, bool from_proc_swap); #endif |