policy.h File Reference
#include "MagickCore/pixel.h"
#include "MagickCore/exception.h"
Go to the source code of this file.
Typedefs |
| typedef struct _PolicyInfo | PolicyInfo |
Enumerations |
| enum | PolicyDomain {
UndefinedPolicyDomain,
CoderPolicyDomain,
DelegatePolicyDomain,
FilterPolicyDomain,
PathPolicyDomain,
ResourcePolicyDomain,
SystemPolicyDomain,
CachePolicyDomain,
ModulePolicyDomain
} |
| enum | PolicyRights {
UndefinedPolicyRights = 0x00,
NoPolicyRights = 0x00,
ReadPolicyRights = 0x01,
WritePolicyRights = 0x02,
ExecutePolicyRights = 0x04,
AllPolicyRights = 0xff
} |
Functions |
| MagickExport char * | GetPolicyValue (const char *) |
| MagickExport char *** | GetPolicyList (const char *, size_t *, ExceptionInfo *) |
| MagickExport const PolicyInfo ** | GetPolicyInfoList (const char *, size_t *, ExceptionInfo *) |
| MagickExport MagickBooleanType | IsRightsAuthorized (const PolicyDomain, const PolicyRights, const char *) |
| MagickExport MagickBooleanType | ListPolicyInfo (FILE *, ExceptionInfo *) |
| MagickExport MagickBooleanType | SetMagickSecurityPolicy (const char *, ExceptionInfo *) |
| MagickExport MagickBooleanType | SetMagickSecurityPolicyValue (const PolicyDomain, const char *, const char *, ExceptionInfo *) |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| UndefinedPolicyDomain |
|
| CoderPolicyDomain |
|
| DelegatePolicyDomain |
|
| FilterPolicyDomain |
|
| PathPolicyDomain |
|
| ResourcePolicyDomain |
|
| SystemPolicyDomain |
|
| CachePolicyDomain |
|
| ModulePolicyDomain |
|
- Enumerator:
| UndefinedPolicyRights |
|
| NoPolicyRights |
|
| ReadPolicyRights |
|
| WritePolicyRights |
|
| ExecutePolicyRights |
|
| AllPolicyRights |
|
Function Documentation
References AcquireQuantumMemory(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetPolicyInfo(), GlobExpression(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _PolicyInfo::name, policy_cache, policy_semaphore, ResetLinkedListIterator(), _PolicyInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListPolicyInfo().
| MagickExport char* ** GetPolicyList |
( |
const char * |
, |
|
|
size_t * |
, |
|
|
ExceptionInfo * |
| |
|
) |
| | |
References AcquireQuantumMemory(), ConstantString(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetPolicyInfo(), GlobExpression(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _PolicyInfo::name, policy_cache, policy_semaphore, ResetLinkedListIterator(), _PolicyInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
| MagickExport char* GetPolicyValue |
( |
const char * |
|
) |
|
| MagickExport MagickBooleanType IsRightsAuthorized |
( |
const |
PolicyDomain, |
|
|
const |
PolicyRights, |
|
|
const char * |
| |
|
) |
| | |
References CachePolicyDomain, CoderPolicyDomain, DelegatePolicyDomain, FilterPolicyDomain, GetPolicyValue(), LocaleCompare(), magick_unreferenced, MagickFalse, MagickResourceInfinity, MagickResourceOptions, ModulePolicyDomain, ParseCommandOption(), PathPolicyDomain, ResetCacheAnonymousMemory(), ResetMagickPrecision(), ResetMaxMemoryRequest(), ResetStreamAnonymousMemory(), ResetVirtualAnonymousMemory(), ResourcePolicyDomain, SetMagickResourceLimit(), SetPolicyValue(), StringToInteger(), StringToMagickSizeType(), StringToSizeType(), and SystemPolicyDomain.