MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
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

◆ PolicyInfo

typedef struct _PolicyInfo PolicyInfo

Definition at line 52 of file policy.h.

Enumeration Type Documentation

◆ PolicyDomain

Enumerator
UndefinedPolicyDomain 
CoderPolicyDomain 
DelegatePolicyDomain 
FilterPolicyDomain 
PathPolicyDomain 
ResourcePolicyDomain 
SystemPolicyDomain 
CachePolicyDomain 
ModulePolicyDomain 

Definition at line 28 of file policy.h.

◆ PolicyRights

Enumerator
UndefinedPolicyRights 
NoPolicyRights 
ReadPolicyRights 
WritePolicyRights 
ExecutePolicyRights 
AllPolicyRights 

Definition at line 41 of file policy.h.

Function Documentation

◆ GetPolicyInfoList()

◆ GetPolicyList()

◆ GetPolicyValue()

MagickExport char * GetPolicyValue ( const char *  )

◆ IsRightsAuthorized()

MagickExport MagickBooleanType IsRightsAuthorized ( const  PolicyDomain,
const  PolicyRights,
const char *   
)

◆ ListPolicyInfo()

MagickExport MagickBooleanType ListPolicyInfo ( FILE *  ,
ExceptionInfo  
)

◆ SetMagickSecurityPolicy()

MagickExport MagickBooleanType SetMagickSecurityPolicy ( const char *  ,
ExceptionInfo  
)

◆ SetMagickSecurityPolicyValue()