~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/WINNT/afsclass/internal.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 INTERNAL_H
 
11
#define INTERNAL_H
 
12
 
 
13
#include "worker.h"
 
14
 
 
15
 
 
16
/*
 
17
 * DEFINITIONS ________________________________________________________________
 
18
 *
 
19
 */
 
20
 
 
21
#define cREALLOC_SERVERS    16  // allocate space for 16 servers at once
 
22
 
 
23
#define cREALLOC_SERVICES    8  // allocate space for 8 svcs at once
 
24
 
 
25
#define cREALLOC_AGGREGATES 16  // allocate space for 16 aggs at once
 
26
 
 
27
#define cREALLOC_FILESETS   32  // allocate space for 32 sets at once
 
28
 
 
29
 
 
30
/*
 
31
 * VARIABLES __________________________________________________________________
 
32
 *
 
33
 */
 
34
 
 
35
extern size_t cRefreshAllReq;
 
36
 
 
37
extern BOOL   fLongServerNames;
 
38
 
 
39
extern DWORD  dwWant;
 
40
 
 
41
 
 
42
/*
 
43
 * PROTOTYPES _________________________________________________________________
 
44
 *
 
45
 */
 
46
 
 
47
LPCRITICAL_SECTION AfsClass_GetCriticalSection (void);
 
48
 
 
49
void AfsClass_ElapsedTimeToSeconds (ULONG *pcSeconds, LPSYSTEMTIME pet);
 
50
 
 
51
void AfsClass_ParseRecurringTime (BOOL *pfEver, LPSYSTEMTIME pst, LPTSTR pszTime);
 
52
void AfsClass_FormatRecurringTime (LPTSTR pszTarget, SYSTEMTIME *pst);
 
53
 
 
54
double AfsClass_FileTimeToDouble (FILETIME *pft);
 
55
 
 
56
void AfsClass_SplitFilename (LPSTR pszDirectoryA, LPSTR pszFilenameA, LPTSTR pszFullName);
 
57
 
 
58
void AfsClass_SystemTimeToRestartTime (bos_RestartTime_p prt, BOOL fEnable, LPSYSTEMTIME pst);
 
59
void AfsClass_RestartTimeToSystemTime (BOOL *pfEnable, LPSYSTEMTIME pst, bos_RestartTime_p prt);
 
60
 
 
61
void AfsClass_GenFullUserName (LPTSTR pszTarget, LPCTSTR pszPrincipal, LPCTSTR pszInstance);
 
62
 
 
63
#endif
 
64