comparison dstep/security/cssmaci.d @ 11:07194b026fa4

Added bindings to a couple of frameworks, new license + some other things
author Jacob Carlborg <doob@me.com>
date Sat, 01 Aug 2009 15:03:28 +0200
parents
children
comparison
equal deleted inserted replaced
10:27e00625790b 11:07194b026fa4
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Jul 22, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.security.cssmaci;
8
9 import dstep.security.cssmtype;
10
11 struct CSSM_SPI_AC_FUNCS
12 {
13 extern (C) int function (CSSM_AC_HANDLE ACHandle,
14 CSSM_TUPLEGROUP* BaseAuthorizations,
15 CSSM_TUPLEGROUP* Credentials,
16 uint NumberOfRequestors,
17 CSSM_LIST* Requestors,
18 CSSM_LIST* RequestedAuthorizationPeriod,
19 CSSM_LIST* RequestedAuthorization,
20 CSSM_TUPLEGROUP* AuthorizationResult) AuthCompute;
21
22 extern (C) int function (CSSM_AC_HANDLE ACHandle,
23 int TPHandle,
24 ulong CCHandle,
25 CSSM_DL_DB_LIST* DBList,
26 uint PassThroughId,
27 void* InputParams,
28 void** OutputParams) PassThrough;
29 }
30
31 alias CSSM_SPI_AC_FUNCS* CSSM_SPI_AC_FUNCS_PTR;