dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / lib / libast / i386 / include / ast / mnt.h
blob8bf8c12814771bf0ae61da0798f481b95ae5588f
2 /* : : generated by proto : : */
3 /***********************************************************************
4 * *
5 * This software is part of the ast package *
6 * Copyright (c) 1985-2010 AT&T Intellectual Property *
7 * and is licensed under the *
8 * Common Public License, Version 1.0 *
9 * by AT&T Intellectual Property *
10 * *
11 * A copy of the License is available at *
12 * http://www.opensource.org/licenses/cpl1.0.txt *
13 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
14 * *
15 * Information and Software Systems Research *
16 * AT&T Research *
17 * Florham Park NJ *
18 * *
19 * Glenn Fowler <gsf@research.att.com> *
20 * David Korn <dgk@research.att.com> *
21 * Phong Vo <kpv@research.att.com> *
22 * *
23 ***********************************************************************/
26 * Glenn Fowler
27 * AT&T Research
29 * mounted filesystem scan interface
32 #ifndef _MNT_H
33 #if !defined(__PROTO__)
34 #include <prototyped.h>
35 #endif
36 #if !defined(__LINKAGE__)
37 #define __LINKAGE__ /* 2004-08-11 transition */
38 #endif
40 #define _MNT_H 1
42 #undef MNT_REMOTE /* aix clash */
43 #define MNT_REMOTE (1<<0) /* remote mount */
45 typedef struct
47 char* fs; /* filesystem name */
48 char* dir; /* mounted dir */
49 char* type; /* filesystem type */
50 char* options; /* options */
51 int freq; /* backup frequency */
52 int npass; /* number of parallel passes */
53 int flags; /* MNT_* flags */
54 } Mnt_t;
56 #if _BLD_ast && defined(__EXPORT__)
57 #undef __MANGLE__
58 #define __MANGLE__ __LINKAGE__ __EXPORT__
59 #endif
61 extern __MANGLE__ __V_* mntopen __PROTO__((const char*, const char*));
62 extern __MANGLE__ Mnt_t* mntread __PROTO__((__V_*));
63 extern __MANGLE__ int mntwrite __PROTO__((__V_*, const Mnt_t*));
64 extern __MANGLE__ int mntclose __PROTO__((__V_*));
66 #undef __MANGLE__
67 #define __MANGLE__ __LINKAGE__
69 #endif