2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/config/cmsecach.c
5 * PURPOSE: Configuration Manager - Security Cache
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
9 /* INCLUDES ******************************************************************/
15 /* GLOBALS *******************************************************************/
17 /* FUNCTIONS *****************************************************************/
21 CmpInitSecurityCache(IN PCMHIVE Hive
)
26 Hive
->SecurityCount
= 0;
27 Hive
->SecurityCacheSize
= 0;
28 Hive
->SecurityHitHint
= -1;
29 Hive
->SecurityCache
= NULL
;
31 /* Loop every security hash */
32 for (i
= 0; i
< CMP_SECURITY_HASH_LISTS
; i
++)
35 InitializeListHead(&Hive
->SecurityHash
[i
]);