ubase/ubase.h

23 lines
438 B
C
Raw Normal View History

/* See LICENSE file for copyright and license details. */
2013-08-06 15:39:00 -04:00
/* grabmntinfo.c */
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 {
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);