14887Schin 24887Schin /* : : generated by proto : : */ 34887Schin /*********************************************************************** 44887Schin * * 54887Schin * This software is part of the ast package * 6*12068SRoger.Faulkner@Oracle.COM * Copyright (c) 1985-2010 AT&T Intellectual Property * 74887Schin * and is licensed under the * 84887Schin * Common Public License, Version 1.0 * 98462SApril.Chin@Sun.COM * by AT&T Intellectual Property * 104887Schin * * 114887Schin * A copy of the License is available at * 124887Schin * http://www.opensource.org/licenses/cpl1.0.txt * 134887Schin * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 144887Schin * * 154887Schin * Information and Software Systems Research * 164887Schin * AT&T Research * 174887Schin * Florham Park NJ * 184887Schin * * 194887Schin * Glenn Fowler <gsf@research.att.com> * 204887Schin * David Korn <dgk@research.att.com> * 214887Schin * Phong Vo <kpv@research.att.com> * 224887Schin * * 234887Schin ***********************************************************************/ 244887Schin 254887Schin /* 264887Schin * Glenn Fowler 274887Schin * AT&T Research 284887Schin * 294887Schin * mounted filesystem scan interface 304887Schin */ 314887Schin 324887Schin #ifndef _MNT_H 334887Schin #if !defined(__PROTO__) 344887Schin #include <prototyped.h> 354887Schin #endif 364887Schin #if !defined(__LINKAGE__) 374887Schin #define __LINKAGE__ /* 2004-08-11 transition */ 384887Schin #endif 394887Schin 404887Schin #define _MNT_H 1 414887Schin 424887Schin #undef MNT_REMOTE /* aix clash */ 434887Schin #define MNT_REMOTE (1<<0) /* remote mount */ 444887Schin 454887Schin typedef struct 464887Schin { 474887Schin char* fs; /* filesystem name */ 484887Schin char* dir; /* mounted dir */ 494887Schin char* type; /* filesystem type */ 504887Schin char* options; /* options */ 514887Schin int freq; /* backup frequency */ 524887Schin int npass; /* number of parallel passes */ 534887Schin int flags; /* MNT_* flags */ 544887Schin } Mnt_t; 554887Schin 564887Schin #if _BLD_ast && defined(__EXPORT__) 574887Schin #undef __MANGLE__ 584887Schin #define __MANGLE__ __LINKAGE__ __EXPORT__ 594887Schin #endif 604887Schin 614887Schin extern __MANGLE__ __V_* mntopen __PROTO__((const char*, const char*)); 624887Schin extern __MANGLE__ Mnt_t* mntread __PROTO__((__V_*)); 634887Schin extern __MANGLE__ int mntwrite __PROTO__((__V_*, const Mnt_t*)); 644887Schin extern __MANGLE__ int mntclose __PROTO__((__V_*)); 654887Schin 664887Schin #undef __MANGLE__ 674887Schin #define __MANGLE__ __LINKAGE__ 684887Schin 694887Schin #endif 70