|
MagickCore
6.7.5
|


Go to the source code of this file.
Typedefs | |
| typedef struct _PolicyInfo | PolicyInfo |
Enumerations | |
| enum | PolicyDomain { UndefinedPolicyDomain, CoderPolicyDomain, DelegatePolicyDomain, FilterPolicyDomain, PathPolicyDomain, ResourcePolicyDomain, SystemPolicyDomain } |
| enum | PolicyRights { UndefinedPolicyRights = 0x00, NoPolicyRights = 0x00, ReadPolicyRights = 0x01, WritePolicyRights = 0x02, ExecutePolicyRights = 0x04 } |
Functions | |
| MagickExport char * | GetPolicyValue (const char *name) |
| 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 *) |
| typedef struct _PolicyInfo PolicyInfo |
| enum PolicyDomain |
| enum PolicyRights |
| MagickExport const PolicyInfo** GetPolicyInfoList | ( | const char * | , |
| size_t * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 241 of file policy.c.
References LogMagickEvent(), TraceEvent, GetMagickModule, GetPolicyInfo(), AcquireQuantumMemory(), GetNumberOfElementsInLinkedList(), policy_list, LockSemaphoreInfo(), policy_semaphore, ResetLinkedListIterator(), GetNextValueInLinkedList(), _PolicyInfo::stealth, MagickFalse, GlobExpression(), _PolicyInfo::name, and UnlockSemaphoreInfo().
Referenced by ListPolicyInfo().
| MagickExport char ** GetPolicyList | ( | const char * | , |
| size_t * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 313 of file policy.c.
References LogMagickEvent(), TraceEvent, GetMagickModule, GetPolicyInfo(), AcquireQuantumMemory(), GetNumberOfElementsInLinkedList(), policy_list, LockSemaphoreInfo(), policy_semaphore, ResetLinkedListIterator(), GetNextValueInLinkedList(), _PolicyInfo::stealth, MagickFalse, GlobExpression(), _PolicyInfo::name, ConstantString(), and UnlockSemaphoreInfo().
| MagickExport char* GetPolicyValue | ( | const char * | name | ) |
| MagickExport MagickBooleanType IsRightsAuthorized | ( | const PolicyDomain | , |
| const PolicyRights | , | ||
| const char * | |||
| ) |
| MagickExport MagickBooleanType ListPolicyInfo | ( | FILE * | , |
| ExceptionInfo * | |||
| ) |
Definition at line 546 of file policy.c.
References GetPolicyInfoList(), MagickFalse, LocaleCompare(), _PolicyInfo::path, FormatLocaleFile(), CommandOptionToMnemonic(), MagickPolicyDomainOptions, ResourcePolicyDomain, _PolicyInfo::domain, SystemPolicyDomain, NoPolicyRights, ReadPolicyRights, WritePolicyRights, ExecutePolicyRights, RelinquishMagickMemory(), and MagickTrue.