Back to home page

EIC code displayed by LXR

 
 

    


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

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 utility methods.
0017 */
0018 #ifndef MAGICKCORE_UTILITY_H
0019 #define MAGICKCORE_UTILITY_H
0020 
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024 
0025 typedef enum
0026 {
0027   UndefinedPath,
0028   MagickPath,
0029   RootPath,
0030   HeadPath,
0031   TailPath,
0032   BasePath,
0033   ExtensionPath,
0034   SubimagePath,
0035   CanonicalPath,
0036   SubcanonicalPath,
0037   BasePathSansCompressExtension
0038 } PathType;
0039 
0040 extern MagickExport char
0041   *Base64Encode(const unsigned char *,const size_t,size_t *);
0042 
0043 extern MagickExport MagickBooleanType
0044   AcquireUniqueFilename(char *),
0045   AcquireUniqueSymbolicLink(const char *,char *),
0046   ExpandFilenames(int *,char ***),
0047   GetPathAttributes(const char *,void *),
0048   IsPathAccessible(const char *);
0049 
0050 extern MagickExport size_t
0051   MultilineCensus(const char *) magick_attribute((__pure__));
0052 
0053 extern MagickExport unsigned char
0054   *Base64Decode(const char *, size_t *);
0055 
0056 extern MagickExport void
0057   AppendImageFormat(const char *,char *),
0058   GetPathComponent(const char *,PathType,char *),
0059   MagickDelay(const MagickSizeType);
0060 
0061 #if defined(__cplusplus) || defined(c_plusplus)
0062 }
0063 #endif
0064 
0065 #endif