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