Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / client_creds / creds.h
blob2fb608330e393f94d98d739b3e6fba822b4dc6d4
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 CREDS_H
11 #define CREDS_H
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
18 * PROTOTYPES _________________________________________________________________
22 BOOL IsServiceRunning (void);
23 BOOL IsServicePersistent (void);
24 BOOL IsServiceConfigured (void);
26 int GetCurrentCredentials (void);
28 int DestroyCurrentCredentials (LPCTSTR pszCell);
30 int ObtainNewCredentials (LPCTSTR pszCell, LPCTSTR pszUser, LPCTSTR pszPassword, BOOL Silent);
32 int GetDefaultCell (LPTSTR pszCell);
34 void GetGatewayName (LPTSTR pszGateway);
36 BOOL Creds_OpenLibraries (void);
37 void Creds_CloseLibraries (void);
39 #ifdef __cplusplus
41 #endif
42 #endif