2013-08-06 11:16:27 +00:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
2013-08-06 19:39:00 +00:00
|
|
|
|
|
|
|
/* grabmntinfo.c */
|
2013-08-06 11:16:27 +00:00
|
|
|
struct mntinfo {
|
|
|
|
const char *fsname;
|
|
|
|
const char *mntdir;
|
|
|
|
};
|
|
|
|
|
|
|
|
int grabmntinfo(struct mntinfo **minfo);
|
2013-08-06 19:08:41 +00:00
|
|
|
|
|
|
|
/* syslog.c */
|
|
|
|
int syslog_size(void);
|
|
|
|
int syslog_read(void *buf, size_t n);
|
2013-08-09 18:05:38 +00:00
|
|
|
int syslog_show(int fd, const void *buf, size_t n);
|
2013-08-07 08:52:10 +00:00
|
|
|
|
|
|
|
/* umount.c */
|
|
|
|
enum {
|
2013-08-07 09:33:19 +00:00
|
|
|
UBASE_MNT_FORCE = 1 << 0,
|
|
|
|
UBASE_MNT_DETACH = 1 << 1
|
2013-08-07 08:52:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
int do_umount(const char *target, int opts);
|