You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
700 B
57 lines
700 B
/*
|
|
* PolRef.h
|
|
*
|
|
* Author: BreenH
|
|
*
|
|
* Private header for the policy reference list.
|
|
*/
|
|
|
|
#ifndef __POLLIST_H__
|
|
#define __POLLIST_H__
|
|
|
|
/*
|
|
* Typedefs
|
|
*/
|
|
|
|
typedef struct {
|
|
LIST_ENTRY ListEntry;
|
|
CPolicy *pPolicy;
|
|
} LCPOLICYREF, *LPLCPOLICYREF;
|
|
|
|
/*
|
|
* Function Prototypes
|
|
*/
|
|
|
|
NTSTATUS
|
|
PolicyListAdd(
|
|
CPolicy *pPolicy
|
|
);
|
|
|
|
VOID
|
|
PolicyListDelete(
|
|
ULONG ulPolicyId
|
|
);
|
|
|
|
NTSTATUS
|
|
PolicyListEnumerateIds(
|
|
PULONG *ppulPolicyIds,
|
|
PULONG pcPolicies
|
|
);
|
|
|
|
CPolicy *
|
|
PolicyListFindById(
|
|
ULONG ulPolicyId
|
|
);
|
|
|
|
CPolicy *
|
|
PolicyListPop(
|
|
VOID
|
|
);
|
|
|
|
NTSTATUS
|
|
PolicyListInitialize(
|
|
VOID
|
|
);
|
|
|
|
#endif
|
|
|