X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fautomount.h;h=60f55223897e94133d7de959fbeb76034507455d;hp=8276051352fe09775cba51404eaf6320bbd0dcf7;hb=2cfbd749af308bdbe56edcfed7f3eea0fc2b93d2;hpb=3ecaa09bccd8a59c9f1e06756a1334a162206dc4 diff --git a/src/core/automount.h b/src/core/automount.h index 827605135..60f552238 100644 --- a/src/core/automount.h +++ b/src/core/automount.h @@ -49,8 +49,8 @@ struct Automount { char *where; int pipe_fd; + sd_event_source *pipe_event_source; mode_t directory_mode; - Watch pipe_watch; dev_t dev_id; Set *tokens; @@ -62,10 +62,8 @@ extern const UnitVTable automount_vtable; int automount_send_ready(Automount *a, int status); -int automount_add_one_mount_link(Automount *a, Mount *m); +const char* automount_state_to_string(AutomountState i) _const_; +AutomountState automount_state_from_string(const char *s) _pure_; -const char* automount_state_to_string(AutomountState i); -AutomountState automount_state_from_string(const char *s); - -const char* automount_result_to_string(AutomountResult i); -AutomountResult automount_result_from_string(const char *s); +const char* automount_result_to_string(AutomountResult i) _const_; +AutomountResult automount_result_from_string(const char *s) _pure_;