windows-misc-20040803
[openafs.git] / src / WINNT / afsd / cm_config.h
index 2963ff2..ae8a2cd 100644 (file)
 #define CM_CONFIGDEFAULT_CACHESIZE     20480
 #define CM_CONFIGDEFAULT_BLOCKSIZE     4096
 #define CM_CONFIGDEFAULT_STATS         1000
-#define CM_CONFIGDEFAULT_CHUNKSIZE     15
+#define CM_CONFIGDEFAULT_CHUNKSIZE     17
 #define CM_CONFIGDEFAULT_DAEMONS       2
-#define CM_CONFIGDEFAULT_SVTHREADS     4
+#define CM_CONFIGDEFAULT_SVTHREADS     25
 #define CM_CONFIGDEFAULT_TRACEBUFSIZE  5000
 
 #ifndef __CM_CONFIG_INTERFACES_ONLY__
 
 #include <stdio.h>
+#ifdef DJGPP
+#include <netinet/in.h>
+#endif /* DJGPP */
 
 extern char AFSConfigKeyName[];
 
@@ -33,6 +36,9 @@ extern long cm_GetRootCellName(char *namep);
 extern long cm_SearchCellFile(char *cellNamep, char *newCellNamep,
        cm_configProc_t *procp, void *rockp);
 
+extern long cm_SearchCellByDNS(char *cellNamep, char *newCellNamep, int *ttl,
+               cm_configProc_t *procp, void *rockp);
+
 extern long cm_WriteConfigString(char *labelp, char *valuep);
 
 extern long cm_WriteConfigInt(char *labelp, long value);
@@ -47,6 +53,8 @@ extern long cm_AppendNewCellLine(cm_configFile_t *filep, char *linep);
 
 extern long cm_CloseCellFile(cm_configFile_t *filep);
 
+extern long cm_GetCellServDB(char *cellNamep);
+
 #endif /* __CM_CONFIG_INTERFACES_ONLY__ */
 
 #endif /* __CONFIG_H_ENV_ */