Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:20

0001 /*
0002   Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickCore delegates methods.
0017 */
0018 #ifndef MAGICKCORE_DELEGATE_H
0019 #define MAGICKCORE_DELEGATE_H
0020 
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024 
0025 #include <stdarg.h>
0026 #include "MagickCore/semaphore.h"
0027 
0028 typedef struct _DelegateInfo
0029 {
0030   char
0031     *path,
0032     *decode,
0033     *encode,
0034     *commands;
0035 
0036   ssize_t
0037     mode;
0038 
0039   MagickBooleanType
0040     thread_support,
0041     spawn,
0042     stealth;
0043 
0044   SemaphoreInfo
0045     *semaphore;
0046 
0047   size_t
0048     signature;
0049 } DelegateInfo;
0050 
0051 extern MagickExport char
0052   *GetDelegateCommand(const ImageInfo *,Image *,const char *,const char *,
0053     ExceptionInfo *),
0054   **GetDelegateList(const char *,size_t *,ExceptionInfo *);
0055 
0056 extern MagickExport const char
0057   *GetDelegateCommands(const DelegateInfo *);
0058 
0059 extern MagickExport const DelegateInfo
0060   *GetDelegateInfo(const char *,const char *,ExceptionInfo *exception),
0061   **GetDelegateInfoList(const char *,size_t *,ExceptionInfo *);
0062 
0063 extern MagickExport int
0064   ExternalDelegateCommand(const MagickBooleanType,const MagickBooleanType,
0065     const char *,char *,ExceptionInfo *);
0066 
0067 extern MagickExport ssize_t
0068   GetDelegateMode(const DelegateInfo *);
0069 
0070 extern MagickExport MagickBooleanType
0071   GetDelegateThreadSupport(const DelegateInfo *),
0072   InvokeDelegate(ImageInfo *,Image *,const char *,const char *,ExceptionInfo *),
0073   ListDelegateInfo(FILE *,ExceptionInfo *);
0074 
0075 #if defined(__cplusplus) || defined(c_plusplus)
0076 }
0077 #endif
0078 
0079 #endif