X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fmount.h;h=2dcb663cb142fcef439b57a6e1b068eb24ee1391;hb=5261ba901845c084de5a8fd06500ed09bfb0bd80;hp=7cd4320d94e5ed7551211a5115ffdc2f00862a37;hpb=4ad490007b70e6ac18d3cb04fa2ed92eba1451fa;p=elogind.git diff --git a/src/core/mount.h b/src/core/mount.h index 7cd4320d9..2dcb663cb 100644 --- a/src/core/mount.h +++ b/src/core/mount.h @@ -54,13 +54,6 @@ typedef enum MountExecCommand { _MOUNT_EXEC_COMMAND_INVALID = -1 } MountExecCommand; -typedef struct MountParameters { - char *what; - char *options; - char *fstype; - int passno; -} MountParameters; - typedef enum MountResult { MOUNT_SUCCESS, MOUNT_FAILURE_RESOURCES, @@ -72,6 +65,12 @@ typedef enum MountResult { _MOUNT_RESULT_INVALID = -1 } MountResult; +typedef struct MountParameters { + char *what; + char *options; + char *fstype; +} MountParameters; + struct Mount { Unit meta; @@ -89,6 +88,8 @@ struct Mount { bool just_mounted:1; bool just_changed:1; + bool sloppy_options; + MountResult result; MountResult reload_result; @@ -102,13 +103,15 @@ struct Mount { KillContext kill_context; CGroupContext cgroup_context; + ExecRuntime *exec_runtime; + MountState state, deserialized_state; ExecCommand* control_command; MountExecCommand control_command_id; pid_t control_pid; - Watch timer_watch; + sd_event_source *timer_event_source; }; extern const UnitVTable mount_vtable;