flushonhibernate-registry-20041017
[openafs.git] / src / WINNT / afsd / cm_freelance.h
1 #ifndef _CM_FREELANCE_H
2 #define _CM_FREELANCE_H 1
3
4
5 typedef struct cm_localMountPoint {
6         char* namep;
7         char* mountPointStringp;
8         struct cm_localMountPoint* next;
9 } cm_localMountPoint_t;
10
11 extern int cm_getNoLocalMountPoints();
12 extern long cm_InitLocalMountPoints();
13 extern int cm_getLocalMountPointChange();
14 extern int cm_reInitLocalMountPoints();
15 extern cm_localMountPoint_t* cm_getLocalMountPoint(int vnode);
16 extern void cm_InitFreelance();
17 extern long cm_FreelanceRemoveMount(char *toremove);
18 extern long cm_FreelanceAddMount(char *filename, char *cellname, char *volume, int rw, cm_fid_t *fidp);
19 extern int cm_clearLocalMountPointChange();
20 extern int cm_FakeRootFid(cm_fid_t *fidp);
21
22 #define AFS_FREELANCE_INI "afs_freelance.ini"
23 #define AFS_FAKE_ROOT_CELL_ID 0xFFFFFFFF
24 #define AFS_FAKE_ROOT_VOL_ID  0xFFFFFFFF
25
26 extern time_t FakeFreelanceModTime;
27 #endif // _CM_FREELANCE_H