windows-clean-20041129
[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     unsigned int                fileType;
9     struct cm_localMountPoint*  next;
10 } cm_localMountPoint_t;
11
12 extern int cm_getNoLocalMountPoints();
13 extern long cm_InitLocalMountPoints();
14 extern int cm_getLocalMountPointChange();
15 extern int cm_reInitLocalMountPoints();
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 long cm_FreelanceRemoveSymlink(char *toremove);
20 extern long cm_FreelanceAddSymlink(char *filename, char *destination, cm_fid_t *fidp);
21 extern int cm_clearLocalMountPointChange();
22 extern int cm_FakeRootFid(cm_fid_t *fidp);
23
24 #define AFS_FREELANCE_INI "afs_freelance.ini"
25 #define AFS_FAKE_ROOT_CELL_ID 0xFFFFFFFF
26 #define AFS_FAKE_ROOT_VOL_ID  0xFFFFFFFF
27
28 extern time_t FakeFreelanceModTime;
29 #endif // _CM_FREELANCE_H