2 Copyright 1999-2017 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 https://www.imagemagick.org/script/license.php
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 MagickCore delegates methods.
18 #ifndef MAGICKCORE_DELEGATE_H
19 #define MAGICKCORE_DELEGATE_H
21 #if defined(__cplusplus) || defined(c_plusplus)
26 #include "MagickCore/semaphore.h"
28 typedef struct _DelegateInfo
51 extern MagickExport char
52 *GetDelegateCommand(const ImageInfo *,Image *,const char *,const char *,
54 **GetDelegateList(const char *,size_t *,ExceptionInfo *);
56 extern MagickExport const char
57 *GetDelegateCommands(const DelegateInfo *);
59 extern MagickExport const DelegateInfo
60 *GetDelegateInfo(const char *,const char *,ExceptionInfo *exception),
61 **GetDelegateInfoList(const char *,size_t *,ExceptionInfo *);
63 extern MagickExport int
64 ExternalDelegateCommand(const MagickBooleanType,const MagickBooleanType,
65 const char *,char *,ExceptionInfo *);
67 extern MagickExport ssize_t
68 GetDelegateMode(const DelegateInfo *);
70 extern MagickExport MagickBooleanType
71 GetDelegateThreadSupport(const DelegateInfo *),
72 InvokeDelegate(ImageInfo *,Image *,const char *,const char *,ExceptionInfo *),
73 ListDelegateInfo(FILE *,ExceptionInfo *);
75 #if defined(__cplusplus) || defined(c_plusplus)