github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/GraphicsMagick/magick/registry.h (about) 1 /* 2 Copyright (C) 2003-2020 GraphicsMagick Group 3 Copyright (C) 2002 ImageMagick Studio 4 5 This program is covered by multiple licenses, which are described in 6 Copyright.txt. You should have received a copy of Copyright.txt with this 7 package; otherwise see http://www.graphicsmagick.org/www/Copyright.html. 8 9 Magick registry methods. 10 */ 11 #ifndef _MAGICK_REGISTRY_H 12 #define _MAGICK_REGISTRY_H 13 14 #if defined(__cplusplus) || defined(c_plusplus) 15 extern "C" { 16 #endif 17 18 /* 19 Enum declarations. 20 */ 21 typedef enum 22 { 23 UndefinedRegistryType, 24 ImageRegistryType, 25 ImageInfoRegistryType 26 } RegistryType; 27 28 /* 29 Magick registry methods. 30 */ 31 extern MagickExport Image 32 *GetImageFromMagickRegistry(const char *name,long *id, 33 ExceptionInfo *exception); 34 35 extern MagickExport long 36 SetMagickRegistry(const RegistryType type,const void *blob, 37 const size_t length,ExceptionInfo *exception); 38 39 extern MagickExport MagickPassFail 40 DeleteMagickRegistry(const long id); 41 42 extern MagickExport void 43 *GetMagickRegistry(const long id,RegistryType *type,size_t *length, 44 ExceptionInfo *exception); 45 46 #if defined(MAGICK_IMPLEMENTATION) 47 # include "magick/registry-private.h" 48 #endif /* defined(MAGICK_IMPLEMENTATION) */ 49 50 #if defined(__cplusplus) || defined(c_plusplus) 51 } 52 #endif 53 54 #endif 55 56 /* 57 * Local Variables: 58 * mode: c 59 * c-basic-offset: 2 60 * fill-column: 78 61 * End: 62 */