policy.h File Reference
#include "magick/pixel.h"
#include "magick/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 *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 *) |
MagickExport MagickBooleanType | PolicyComponentGenesis (void) |
MagickExport MagickBooleanType | SetMagickSecurityPolicy (const char *, ExceptionInfo *) |
MagickExport void | PolicyComponentTerminus (void) |
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 AcquirePolicyString(), AcquireQuantumMemory(), 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 * |
name |
) |
|
MagickExport MagickBooleanType IsRightsAuthorized |
( |
const |
PolicyDomain, |
|
|
const |
PolicyRights, |
|
|
const char * |
| |
|
) |
| | |
MagickExport void PolicyComponentTerminus |
( |
void |
|
) |
|
References _PolicyInfo::domain, GetNextValueInLinkedList(), IsPolicyCacheInstantiated(), LoadPolicyCache(), LockSemaphoreInfo(), MagickFalse, policy_cache, policy_semaphore, ResetLinkedListIterator(), ResourceComponentGenesis(), UndefinedPolicyDomain, and UnlockSemaphoreInfo().