Added initial unfs3 sources for version 0.9.22+dfsg-1maemo2
[unfs3] / unfs3 / Extras / cluster.h
1 /*
2  * UNFS3 cluster extensions
3  * (C) 2003, Pascal Schmidt
4  * see file LICENSE for license details
5  */
6
7 #ifndef UNFS3_CLUSTER_H
8 #define UNFS3_CLUSTER_H
9
10 #ifdef WANT_CLUSTER
11
12 #define CLU_TOOLONG             0       /* name got too long   */
13 #define CLU_SLAVE               1       /* slave file matched  */
14 #define CLU_MASTER              2       /* master file matched */
15 #define CLU_IO                  3       /* I/O error */
16
17 void cluster_lookup(char *path, struct svc_req *rqstp, nfsstat3 *nstat);
18 void cluster_create(char *path, struct svc_req *rqstp, nfsstat3 *nstat);
19
20 #else
21
22 #define cluster_lookup(x,y,z)
23 #define cluster_create(x,y,z)
24
25 #endif
26
27 #endif