2 * Copyright 2000, International Business Machines Corporation and others.
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
17 * DEFINITIONS ________________________________________________________________
21 #define cREALLOC_SERVERS 16 // allocate space for 16 servers at once
23 #define cREALLOC_SERVICES 8 // allocate space for 8 svcs at once
25 #define cREALLOC_AGGREGATES 16 // allocate space for 16 aggs at once
27 #define cREALLOC_FILESETS 32 // allocate space for 32 sets at once
31 * VARIABLES __________________________________________________________________
35 extern size_t cRefreshAllReq;
37 extern BOOL fLongServerNames;
43 * PROTOTYPES _________________________________________________________________
47 LPCRITICAL_SECTION AfsClass_GetCriticalSection (void);
49 void AfsClass_ElapsedTimeToSeconds (ULONG *pcSeconds, LPSYSTEMTIME pet);
51 void AfsClass_ParseRecurringTime (BOOL *pfEver, LPSYSTEMTIME pst, LPTSTR pszTime);
52 void AfsClass_FormatRecurringTime (LPTSTR pszTarget, SYSTEMTIME *pst);
54 double AfsClass_FileTimeToDouble (FILETIME *pft);
56 void AfsClass_SplitFilename (LPSTR pszDirectoryA, LPSTR pszFilenameA, LPTSTR pszFullName);
58 void AfsClass_SystemTimeToRestartTime (bos_RestartTime_p prt, BOOL fEnable, LPSYSTEMTIME pst);
59 void AfsClass_RestartTimeToSystemTime (BOOL *pfEnable, LPSYSTEMTIME pst, bos_RestartTime_p prt);
61 void AfsClass_GenFullUserName (LPTSTR pszTarget, LPCTSTR pszPrincipal, LPCTSTR pszInstance);