18 #ifndef MAGICKCORE_POLICY_H 19 #define MAGICKCORE_POLICY_H 21 #include "magick/pixel.h" 22 #include "magick/exception.h" 24 #if defined(__cplusplus) || defined(c_plusplus) 30 UndefinedPolicyDomain,
43 UndefinedPolicyRights = 0x00,
44 NoPolicyRights = 0x00,
45 ReadPolicyRights = 0x01,
46 WritePolicyRights = 0x02,
47 ExecutePolicyRights = 0x04,
48 AllPolicyRights = 0xff
54 extern MagickExport
char 55 *GetPolicyValue(
const char *name),
61 extern MagickExport MagickBooleanType
62 IsRightsAuthorized(
const PolicyDomain,
const PolicyRights,
const char *),
64 PolicyComponentGenesis(
void),
67 extern MagickExport
void 68 PolicyComponentTerminus(
void);
70 #if defined(__cplusplus) || defined(c_plusplus)