utility.c File Reference

#include "MagickCore/studio.h"
#include "MagickCore/property.h"
#include "MagickCore/blob.h"
#include "MagickCore/color.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/log.h"
#include "MagickCore/magick-private.h"
#include "MagickCore/memory_.h"
#include "MagickCore/nt-base-private.h"
#include "MagickCore/option.h"
#include "MagickCore/policy.h"
#include "MagickCore/random_.h"
#include "MagickCore/registry.h"
#include "MagickCore/resource_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/signature-private.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/token.h"
#include "MagickCore/token-private.h"
#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"

Functions

static int IsPathDirectory (const char *)
MagickExport MagickBooleanType AcquireUniqueFilename (char *path)
MagickExport MagickBooleanType AcquireUniqueSymbolicLink (const char *source, char *destination)
MagickExport void AppendImageFormat (const char *format, char *filename)
MagickExport unsigned char * Base64Decode (const char *source, size_t *length)
MagickExport char * Base64Encode (const unsigned char *blob, const size_t blob_length, size_t *encode_length)
MagickPrivate void ChopPathComponents (char *path, const size_t components)
MagickPrivate void ExpandFilename (char *path)
MagickExport MagickBooleanType ExpandFilenames (int *number_arguments, char ***arguments)
MagickPrivate MagickBooleanType GetExecutionPath (char *path, const size_t extent)
MagickPrivate ssize_t GetMagickPageSize (void)
MagickExport MagickBooleanType GetPathAttributes (const char *path, void *attributes)
MagickExport void GetPathComponent (const char *path, PathType type, char *component)
MagickPrivate char ** GetPathComponents (const char *path, size_t *number_components)
MagickExport MagickBooleanType IsPathAccessible (const char *path)
static int FileCompare (const void *x, const void *y)
MagickPrivate char ** ListFiles (const char *directory, const char *pattern, size_t *number_entries)
MagickExport void MagickDelay (const MagickSizeType milliseconds)
MagickExport size_t MultilineCensus (const char *label)
MagickPrivate MagickBooleanType ShredFile (const char *path)

Variables

static const char Base64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"

Function Documentation

MagickExport MagickBooleanType AcquireUniqueFilename ( char *  path  ) 
MagickExport MagickBooleanType AcquireUniqueSymbolicLink ( const char *  source,
char *  destination 
)
MagickExport void AppendImageFormat ( const char *  format,
char *  filename 
)
MagickExport unsigned char* Base64Decode ( const char *  source,
size_t *  length 
)
MagickExport char* Base64Encode ( const unsigned char *  blob,
const size_t  blob_length,
size_t *  encode_length 
)
MagickPrivate void ChopPathComponents ( char *  path,
const size_t  components 
)

References GetPathComponent(), and HeadPath.

MagickPrivate void ExpandFilename ( char *  path  ) 
MagickExport MagickBooleanType ExpandFilenames ( int *  number_arguments,
char ***  arguments 
)
static int FileCompare ( const void *  x,
const void *  y 
) [static]

References LocaleCompare().

Referenced by ListFiles().

MagickPrivate MagickBooleanType GetExecutionPath ( char *  path,
const size_t  extent 
)
MagickPrivate ssize_t GetMagickPageSize ( void   ) 
MagickExport MagickBooleanType GetPathAttributes ( const char *  path,
void *  attributes 
)
MagickExport void GetPathComponent ( const char *  path,
PathType  type,
char *  component 
)
MagickPrivate char** GetPathComponents ( const char *  path,
size_t *  number_components 
)
MagickExport MagickBooleanType IsPathAccessible ( const char *  path  ) 
static int IsPathDirectory ( const char *  path  )  [static]
MagickPrivate char** ListFiles ( const char *  directory,
const char *  pattern,
size_t *  number_entries 
)
MagickExport void MagickDelay ( const MagickSizeType  milliseconds  ) 

References CLOCKS_PER_SEC, and XFD_SET.

Referenced by GetImagePixelCache(), InvokeDelegate(), and XDelay().

MagickExport size_t MultilineCensus ( const char *  label  ) 

Referenced by MontageImageList().

MagickPrivate MagickBooleanType ShredFile ( const char *  path  ) 

Variable Documentation

const char Base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" [static]

Referenced by Base64Decode(), and Base64Encode().


Generated on 29 Jun 2020 for MagickCore by  doxygen 1.6.1