1 /* 2 * BEGIN illumos section 3 * This is an unstable interface; changes may be made 4 * without notice. 5 * END illumos section 6 */ 7 /*********************************************************************** 8 * * 9 * This software is part of the ast package * 10 * Copyright (c) 1985-2011 AT&T Intellectual Property * 11 * and is licensed under the * 12 * Eclipse Public License, Version 1.0 * 13 * by AT&T Intellectual Property * 14 * * 15 * A copy of the License is available at * 16 * http://www.eclipse.org/org/documents/epl-v10.html * 17 * (with md5 checksum b35adb5213ca9657e911e9befb180842) * 18 * * 19 * Information and Software Systems Research * 20 * AT&T Research * 21 * Florham Park NJ * 22 * * 23 * Glenn Fowler <gsf@research.att.com> * 24 * David Korn <dgk@research.att.com> * 25 * Phong Vo <kpv@research.att.com> * 26 * * 27 ***********************************************************************/ 28 #pragma prototyped 29 /* 30 * Glenn Fowler 31 * AT&T Research 32 * 33 * mounted filesystem scan interface 34 */ 35 36 #ifndef _MNT_H 37 #define _MNT_H 1 38 39 #undef MNT_REMOTE /* aix clash */ 40 #define MNT_REMOTE (1<<0) /* remote mount */ 41 42 typedef struct 43 { 44 char* fs; /* filesystem name */ 45 char* dir; /* mounted dir */ 46 char* type; /* filesystem type */ 47 char* options; /* options */ 48 int freq; /* backup frequency */ 49 int npass; /* number of parallel passes */ 50 int flags; /* MNT_* flags */ 51 } Mnt_t; 52 53 #if _BLD_ast && defined(__EXPORT__) 54 #define extern __EXPORT__ 55 #endif 56 57 extern void* mntopen(const char*, const char*); 58 extern Mnt_t* mntread(void*); 59 extern int mntwrite(void*, const Mnt_t*); 60 extern int mntclose(void*); 61 62 #undef extern 63 64 #endif 65