Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / afsadmsvr / TaAfsAdmSvrGeneral.h
bloba5f49f6c8368cfc7094f0041b33e17a0d7f3c34c
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
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 */
10 #ifndef TAAFSADMSVRGENERAL_H
11 #define TAAFSADMSVRGENERAL_H
15 * INCLUSIONS _________________________________________________________________
19 #include <WINNT/TaAfsAdmSvr.h>
23 * PROTOTYPES _________________________________________________________________
27 void AfsAdmSvr_Enter (void);
28 void AfsAdmSvr_Leave (void);
30 void AfsAdmSvr_Startup (void);
31 void AfsAdmSvr_Shutdown (void);
33 void AfsAdmSvr_EnableAutoShutdown (BOOL fEnable);
34 size_t AfsAdmSvr_BeginOperation (UINT_PTR idClient, LPASACTION pAction = NULL);
35 void AfsAdmSvr_EndOperation (size_t iOp);
36 BOOL AfsAdmSvr_GetOperation (DWORD idAction, LPASACTION pAction);
37 LPASACTIONLIST AfsAdmSvr_GetOperations (UINT_PTR idClientSearch = 0, ASID idCellSearch = 0);
38 void AfsAdmSvr_Action_StartRefresh (ASID idScope);
39 void AfsAdmSvr_Action_StopRefresh (ASID idScope);
41 BOOL AfsAdmSvr_fIsValidClient (UINT_PTR idClient);
42 BOOL AfsAdmSvr_AttachClient (LPCTSTR pszName, PVOID *pidClient, ULONG *pStatus);
43 void AfsAdmSvr_DetachClient (UINT_PTR idClient);
44 LPCTSTR AfsAdmSvr_GetClientName (UINT_PTR idClient);
45 LPSOCKADDR_IN AfsAdmSvr_GetClientAddress (UINT_PTR idClient);
46 void AfsAdmSvr_PingClient (UINT_PTR idClient);
48 BOOL FALSE_ (ULONG status, ULONG *pStatus, size_t iOp = (size_t)-2);
49 BOOL Leave_FALSE_ (ULONG status, ULONG *pStatus, size_t iOp = (size_t)-2);
50 PVOID NULL_ (ULONG status, ULONG *pStatus, size_t iOp = (size_t)-2);
51 PVOID Leave_NULL_ (ULONG status, ULONG *pStatus, size_t iOp = (size_t)-2);
52 BOOL TRUE_ (ULONG *pStatus, size_t iOp = (size_t)-2);
53 BOOL Leave_TRUE_ (ULONG *pStatus, size_t iOp = (size_t)-2);
55 IDENTTYPE GetAsidType (ASID idObject);
56 BOOL AfsAdmSvr_ResolveName (LPSOCKADDR_IN pAddress, LPTSTR pszName);
58 DWORD WINAPI AfsAdmSvr_AutoOpen_ThreadProc (PVOID lp);
59 void AfsAdmSvr_AddToMinScope (DWORD dwScope);
60 void AfsAdmSvr_SetMinScope (DWORD dwScope);
61 DWORD AfsAdmSvr_GetMinScope (void);
63 void AfsAdmSvr_CallbackManager (void);
64 DWORD AfsAdmSvr_GetCurrentTime (void);
67 #endif // TAAFSADMSVRGENERAL_H