2 * Copyright (C) 1998, 1989 Transarc Corporation - All rights reserved
4 * (C) COPYRIGHT IBM CORPORATION 1987, 1988
5 * LICENSED MATERIALS - PROPERTY OF IBM
9 #ifndef __CONFIG_H_ENV_
10 #define __CONFIG_H_ENV_ 1
12 #define CM_CONFIGDEFAULT_CACHESIZE 20480
13 #define CM_CONFIGDEFAULT_BLOCKSIZE 4096
14 #define CM_CONFIGDEFAULT_STATS 1000
15 #define CM_CONFIGDEFAULT_CHUNKSIZE 15
16 #define CM_CONFIGDEFAULT_DAEMONS 2
17 #define CM_CONFIGDEFAULT_SVTHREADS 4
18 #define CM_CONFIGDEFAULT_TRACEBUFSIZE 5000
20 #ifndef __CM_CONFIG_INTERFACES_ONLY__
24 extern char AFSConfigKeyName[];
26 typedef FILE cm_configFile_t;
28 typedef long (cm_configProc_t)(void *rockp, struct sockaddr_in *addrp, char *namep);
30 extern long cm_GetRootCellName(char *namep);
32 extern long cm_SearchCellFile(char *cellNamep, char *newCellNamep,
33 cm_configProc_t *procp, void *rockp);
35 extern long cm_WriteConfigString(char *labelp, char *valuep);
37 extern long cm_WriteConfigInt(char *labelp, long value);
39 extern cm_configFile_t *cm_OpenCellFile(void);
41 extern long cm_AppendPrunedCellList(cm_configFile_t *filep, char *cellNamep);
43 extern long cm_AppendNewCell(cm_configFile_t *filep, char *cellNamep);
45 extern long cm_AppendNewCellLine(cm_configFile_t *filep, char *linep);
47 extern long cm_CloseCellFile(cm_configFile_t *filep);
49 #endif /* __CM_CONFIG_INTERFACES_ONLY__ */
51 #endif /* __CONFIG_H_ENV_ */