cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 16af1cb | 2009-12-11 21:38:29 +0000 | [diff] [blame] | 2 | Copyright 1999-2010 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 list methods. |
| 17 | */ |
| 18 | #ifndef _MAGICKCORE_LIST_H |
| 19 | #define _MAGICKCORE_LIST_H |
| 20 | |
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | extern MagickExport Image |
| 26 | *CloneImageList(const Image *,ExceptionInfo *), |
| 27 | *CloneImages(const Image *,const char *,ExceptionInfo *), |
| 28 | *DestroyImageList(Image *), |
| 29 | *GetFirstImageInList(const Image *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 30 | *GetImageFromList(const Image *,const ssize_t), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 31 | *GetLastImageInList(const Image *), |
| 32 | *GetNextImageInList(const Image *), |
| 33 | *GetPreviousImageInList(const Image *), |
| 34 | **ImageListToArray(const Image *,ExceptionInfo *), |
| 35 | *NewImageList(void), |
| 36 | *RemoveImageFromList(Image **), |
| 37 | *RemoveLastImageFromList(Image **), |
| 38 | *RemoveFirstImageFromList(Image **), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 39 | *SpliceImageIntoList(Image **,const size_t,const Image *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 40 | *SplitImageList(Image *), |
| 41 | *SyncNextImageInList(const Image *); |
| 42 | |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 43 | extern MagickExport ssize_t |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 44 | GetImageIndexInList(const Image *); |
| 45 | |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame^] | 46 | extern MagickExport size_t |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 47 | GetImageListLength(const Image *); |
| 48 | |
| 49 | extern MagickExport void |
| 50 | AppendImageToList(Image **,const Image *), |
| 51 | DeleteImageFromList(Image **), |
| 52 | DeleteImages(Image **,const char *,ExceptionInfo *), |
| 53 | InsertImageInList(Image **,Image *), |
| 54 | PrependImageToList(Image **,Image *), |
| 55 | ReplaceImageInList(Image **,Image *), |
| 56 | ReverseImageList(Image **), |
| 57 | SyncImageList(Image *); |
| 58 | |
| 59 | #if defined(__cplusplus) || defined(c_plusplus) |
| 60 | } |
| 61 | #endif |
| 62 | |
| 63 | #endif |