]> granicus.if.org Git - imagemagick/blobdiff - magick/policy.h
(no commit message)
[imagemagick] / magick / policy.h
index 17a3ab171a6a3d138b8b1d115de561c75c562c89..bfabae07310344e6fa6bb2ac1fe019f718e7e81a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
   
   You may not use this file except in compliance with the License.
@@ -32,7 +32,8 @@ typedef enum
   DelegatePolicyDomain,
   FilterPolicyDomain,
   PathPolicyDomain,
-  ResourcePolicyDomain
+  ResourcePolicyDomain,
+  SystemPolicyDomain
 } PolicyDomain;
 
 typedef enum
@@ -49,18 +50,18 @@ typedef struct _PolicyInfo
 
 extern MagickExport char
   *GetPolicyValue(const char *name),
-  **GetPolicyList(const char *,unsigned long *,ExceptionInfo *);
+  **GetPolicyList(const char *,size_t *,ExceptionInfo *);
 
 extern MagickExport const PolicyInfo
-  **GetPolicyInfoList(const char *,unsigned long *,ExceptionInfo *);
+  **GetPolicyInfoList(const char *,size_t *,ExceptionInfo *);
 
 extern MagickExport MagickBooleanType
-  InstantiatePolicyFacility(void),
   IsRightsAuthorized(const PolicyDomain,const PolicyRights,const char *),
-  ListPolicyInfo(FILE *,ExceptionInfo *);
+  ListPolicyInfo(FILE *,ExceptionInfo *),
+  PolicyComponentGenesis(void);
 
 extern MagickExport void
-  DestroyPolicyFacility(void);
+  PolicyComponentTerminus(void);
 
 #if defined(__cplusplus) || defined(c_plusplus)
 }