1
0
mirror of git://git.suckless.org/ubase synced 2024-12-23 15:12:17 +00:00
ubase/ubase.h

22 lines
386 B
C
Raw Normal View History

/* See LICENSE file for copyright and license details. */
2013-08-06 19:39:00 +00:00
/* grabmntinfo.c */
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-07 08:52:10 +00:00
/* umount.c */
enum {
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);