Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / viced / viced_prototypes.h
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9
10 #ifndef _AFS_VICED_VICED_PROTOTYPES_H
11 #define _AFS_VICED_VICED_PROTOTYPES_H
12
13 extern int sendBufSize;
14 afs_int32 sys_error_to_et(afs_int32 in);
15 void init_sys_error_to_et(void);
16
17 /* afsfileprocs.c */
18 extern afs_int32 BlocksSpare;
19 extern afs_int32 PctSpare;
20
21 /* callback.c */
22 extern int InitCallBack(int);
23 extern int BreakLaterCallBacks(void);
24 extern int BreakVolumeCallBacksLater(VolumeId);
25
26 #ifdef AFS_DEMAND_ATTACH_FS
27 /*
28 * demand attach fs
29 * fileserver state serialization
30 */
31 extern int fs_stateSave(void);
32 extern int fs_stateRestore(void);
33 #endif /* AFS_DEMAND_ATTACH_FS */
34
35
36 #endif /* _AFS_VICED_VICED_PROTOTYPES_H */