mirror of git://git.suckless.org/ubase
21 lines
358 B
C
21 lines
358 B
C
/* See LICENSE file for copyright and license details. */
|
|
|
|
/* grabmntinfo.c */
|
|
struct mntinfo {
|
|
const char *fsname;
|
|
const char *mntdir;
|
|
};
|
|
|
|
int grabmntinfo(struct mntinfo **minfo);
|
|
|
|
/* syslog.c */
|
|
int syslog_size(void);
|
|
int syslog_read(void *buf, size_t n);
|
|
|
|
/* umount.c */
|
|
enum {
|
|
UBASE_MNT_FORCE = 1 << 0
|
|
};
|
|
|
|
int do_umount(const char *target, int opts);
|