cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
Cristy | 7ce65e7 | 2015-12-12 18:03:16 -0500 | [diff] [blame] | 2 | Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
| 4 | |
| 5 | You may not use this file except in compliance with the License. |
| 6 | obtain a copy of the License at |
| 7 | |
| 8 | http://www.imagemagick.org/script/license.php |
| 9 | |
| 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. |
| 15 | |
| 16 | MagickCore image coder methods. |
| 17 | */ |
Cristy | 83bceaa | 2016-06-03 20:39:35 -0400 | [diff] [blame^] | 18 | #ifndef MAGICKCORE_CODER_H |
| 19 | #define MAGICKCORE_CODER_H |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 20 | |
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | typedef struct _CoderInfo |
| 26 | { |
| 27 | char |
| 28 | *path, |
| 29 | *magick, |
| 30 | *name; |
| 31 | |
| 32 | MagickBooleanType |
cristy | e3e77a1 | 2009-10-16 00:47:21 +0000 | [diff] [blame] | 33 | exempt, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 34 | stealth; |
| 35 | |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 36 | size_t |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 37 | signature; |
| 38 | } CoderInfo; |
| 39 | |
| 40 | extern MagickExport char |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 41 | **GetCoderList(const char *,size_t *,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 42 | |
| 43 | extern MagickExport const CoderInfo |
| 44 | *GetCoderInfo(const char *,ExceptionInfo *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 45 | **GetCoderInfoList(const char *,size_t *,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 46 | |
| 47 | extern MagickExport MagickBooleanType |
| 48 | ListCoderInfo(FILE *,ExceptionInfo *); |
| 49 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 50 | #if defined(__cplusplus) || defined(c_plusplus) |
| 51 | } |
| 52 | #endif |
| 53 | |
| 54 | #endif |