MagickCore  7.0.3
policy.h File Reference
Include dependency graph for policy.h:
This graph shows which files directly or indirectly include this file:

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

typedef struct _PolicyInfo PolicyInfo

Definition at line 51 of file policy.h.

Enumeration Type Documentation

Enumerator
UndefinedPolicyDomain 
CoderPolicyDomain 
DelegatePolicyDomain 
FilterPolicyDomain 
PathPolicyDomain 
ResourcePolicyDomain 
SystemPolicyDomain 
CachePolicyDomain 
ModulePolicyDomain 

Definition at line 28 of file policy.h.

Enumerator
UndefinedPolicyRights 
NoPolicyRights 
ReadPolicyRights 
WritePolicyRights 
ExecutePolicyRights 
AllPolicyRights 

Definition at line 41 of file policy.h.

Function Documentation

MagickExport char* GetPolicyValue ( const char *  )
MagickExport MagickBooleanType IsRightsAuthorized ( const PolicyDomain  ,
const PolicyRights  ,
const char *   
)
MagickExport MagickBooleanType ListPolicyInfo ( FILE *  ,
ExceptionInfo  
)
MagickExport MagickBooleanType SetMagickSecurityPolicy ( const char *  ,
ExceptionInfo  
)