diff options
Diffstat (limited to 'lib/prototypes.h')
-rw-r--r-- | lib/prototypes.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/prototypes.h b/lib/prototypes.h index b7d48881..24825f60 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -72,6 +72,14 @@ extern int expire (const struct passwd *, /*@null@*/const struct spwd *); /* isexpired.c */ extern int isexpired (const struct passwd *, /*@null@*/const struct spwd *); +/* btrfs.c */ +#ifdef WITH_BTRFS +extern int btrfs_create_subvolume(const char *path); +extern int btrfs_remove_subvolume(const char *path); +extern int btrfs_is_subvolume(const char *path); +extern int is_btrfs(const char *path); +#endif + /* basename() renamed to Basename() to avoid libc name space confusion */ /* basename.c */ extern /*@observer@*/const char *Basename (const char *str); @@ -416,17 +424,19 @@ extern int set_filesize_limit (int blocks); extern int user_busy (const char *name, uid_t uid); /* utmp.c */ +#ifndef USE_UTMPX extern /*@null@*/struct utmp *get_current_utmp (void); extern struct utmp *prepare_utmp (const char *name, const char *line, const char *host, /*@null@*/const struct utmp *ut); extern int setutmp (struct utmp *ut); -#ifdef USE_UTMPX +#else +extern /*@null@*/struct utmpx *get_current_utmp (void); extern struct utmpx *prepare_utmpx (const char *name, const char *line, const char *host, - /*@null@*/const struct utmp *ut); + /*@null@*/const struct utmpx *ut); extern int setutmpx (struct utmpx *utx); #endif /* USE_UTMPX */ |