2 * secur32 private definitions.
4 * Copyright (C) 2004 Juan Lang
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __SECUR32_PRIV_H__
22 #define __SECUR32_PRIV_H__
24 #include <wine/list.h>
26 typedef struct _SecureProvider
32 SecurityFunctionTableA fnTableA
;
33 SecurityFunctionTableW fnTableW
;
36 typedef struct _SecurePackage
40 SecureProvider
*provider
;
43 /* Tries to find the package named packageName. If it finds it, implicitly
44 * loads the package if it isn't already loaded.
46 SecurePackage
*SECUR32_findPackageW(PCWSTR packageName
) DECLSPEC_HIDDEN
;
48 /* Tries to find the package named packageName. (Thunks to _findPackageW)
50 SecurePackage
*SECUR32_findPackageA(PCSTR packageName
) DECLSPEC_HIDDEN
;
52 /* A few string helpers; will return NULL if str is NULL. Free return with
54 PWSTR
SECUR32_AllocWideFromMultiByte(PCSTR str
) DECLSPEC_HIDDEN
;
55 PSTR
SECUR32_AllocMultiByteFromWide(PCWSTR str
) DECLSPEC_HIDDEN
;
57 #endif /* ndef __SECUR32_PRIV_H__ */