18#ifndef MAGICKCORE_POLICY_H
19#define MAGICKCORE_POLICY_H
21#include "MagickCore/pixel.h"
22#include "MagickCore/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
54extern MagickExport
char
55 *GetPolicyValue(
const char *),
61extern MagickExport MagickBooleanType
62 IsRightsAuthorized(
const PolicyDomain,
const PolicyRights,
const char *),
65 SetMagickSecurityPolicyValue(
const PolicyDomain,
const char *,
const char *,
68#if defined(__cplusplus) || defined(c_plusplus)