chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kill: always send SIGCONT after SIGTERM
[elogind.git]
/
src
/
mount.h
diff --git
a/src/mount.h
b/src/mount.h
index 3b28e89ed3ecac2a3a94c21f0b0a91f00ba8ea05..7c5d9d1f627063c5c3d8888e2024788065d41aaf 100644
(file)
--- a/
src/mount.h
+++ b/
src/mount.h
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
#ifndef foomounthfoo
#define foomounthfoo
#ifndef foomounthfoo
#define foomounthfoo
@@
-39,7
+39,7
@@
typedef enum MountState {
MOUNT_REMOUNTING_SIGKILL,
MOUNT_UNMOUNTING_SIGTERM,
MOUNT_UNMOUNTING_SIGKILL,
MOUNT_REMOUNTING_SIGKILL,
MOUNT_UNMOUNTING_SIGTERM,
MOUNT_UNMOUNTING_SIGKILL,
- MOUNT_
MAINTAINANCE
,
+ MOUNT_
FAILED
,
_MOUNT_STATE_MAX,
_MOUNT_STATE_INVALID = -1
} MountState;
_MOUNT_STATE_MAX,
_MOUNT_STATE_INVALID = -1
} MountState;
@@
-56,6
+56,7
@@
typedef struct MountParameters {
char *what;
char *options;
char *fstype;
char *what;
char *options;
char *fstype;
+ int passno;
} MountParameters;
struct Mount {
} MountParameters;
struct Mount {
@@
-78,6
+79,9
@@
struct Mount {
bool just_changed:1;
bool failure:1;
bool just_changed:1;
bool failure:1;
+ bool reload_failure:1;
+
+ mode_t directory_mode;
usec_t timeout_usec;
usec_t timeout_usec;
@@
-86,8
+90,6
@@
struct Mount {
MountState state, deserialized_state;
MountState state, deserialized_state;
- KillMode kill_mode;
-
ExecCommand* control_command;
MountExecCommand control_command_id;
pid_t control_pid;
ExecCommand* control_command;
MountExecCommand control_command_id;
pid_t control_pid;
@@
-99,8
+101,6
@@
extern const UnitVTable mount_vtable;
void mount_fd_event(Manager *m, int events);
void mount_fd_event(Manager *m, int events);
-int mount_path_is_mounted(Manager *m, const char* path);
-
const char* mount_state_to_string(MountState i);
MountState mount_state_from_string(const char *s);
const char* mount_state_to_string(MountState i);
MountState mount_state_from_string(const char *s);