2008-04-22 07:43:00 +00:00
|
|
|
/* $FreeBSD$ */
|
|
|
|
|
2007-04-06 01:09:06 +00:00
|
|
|
#ifndef _OPENSOLARIS_MNTTAB_H_
|
|
|
|
#define _OPENSOLARIS_MNTTAB_H_
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <paths.h>
|
|
|
|
|
|
|
|
#define MNTTAB _PATH_DEVNULL
|
|
|
|
#define MNT_LINE_MAX 1024
|
|
|
|
|
|
|
|
struct mnttab {
|
|
|
|
char *mnt_special;
|
|
|
|
char *mnt_mountp;
|
|
|
|
char *mnt_fstype;
|
|
|
|
char *mnt_mntopts;
|
|
|
|
};
|
|
|
|
|
|
|
|
int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
|
|
|
|
|
|
|
|
#endif /* !_OPENSOLARIS_MNTTAB_H_ */
|