ReactOS 0.4.16-dev-125-g798ea90
cmsecach.c File Reference
#include "ntoskrnl.h"
#include "debug.h"
Include dependency graph for cmsecach.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

VOID NTAPI CmpInitSecurityCache (IN PCMHIVE Hive)
 
VOID NTAPI CmpDestroySecurityCache (IN PCMHIVE Hive)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 12 of file cmsecach.c.

Function Documentation

◆ CmpDestroySecurityCache()

VOID NTAPI CmpDestroySecurityCache ( IN PCMHIVE  Hive)

Definition at line 41 of file cmsecach.c.

42{
43 /* FIXME: clean Hive->SecurityHash and/or Hive->SecurityCache */
44
45 /* Reset data */
46 Hive->SecurityCount = 0;
47 Hive->SecurityCacheSize = 0;
48 Hive->SecurityHitHint = -1;
49 Hive->SecurityCache = NULL;
50}
#define NULL
Definition: types.h:112

Referenced by CmpDestroyHive(), and CmUnloadKey().

◆ CmpInitSecurityCache()

VOID NTAPI CmpInitSecurityCache ( IN PCMHIVE  Hive)

Definition at line 21 of file cmsecach.c.

22{
23 ULONG i;
24
25 /* Reset data */
26 Hive->SecurityCount = 0;
27 Hive->SecurityCacheSize = 0;
28 Hive->SecurityHitHint = -1;
29 Hive->SecurityCache = NULL;
30
31 /* Loop every security hash */
32 for (i = 0; i < CMP_SECURITY_HASH_LISTS; i++)
33 {
34 /* Initialize it */
35 InitializeListHead(&Hive->SecurityHash[i]);
36 }
37}
#define CMP_SECURITY_HASH_LISTS
Definition: cmlib.h:294
#define InitializeListHead(ListHead)
Definition: env_spec_w32.h:944
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
uint32_t ULONG
Definition: typedefs.h:59

Referenced by CmGetSystemControlValues(), and CmpInitializeHive().