MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
utility-private.h File Reference
Include dependency graph for utility-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MagickPrivate char ** GetPathComponents (const char *, size_t *)
 
MagickPrivate char ** ListFiles (const char *, const char *, size_t *)
 
MagickPrivate MagickBooleanType GetExecutionPath (char *, const size_t)
 
MagickPrivate MagickBooleanType ShredFile (const char *)
 
MagickPrivate ssize_t GetMagickPageSize (void)
 
MagickPrivate void ChopPathComponents (char *, const size_t)
 
MagickPrivate void ExpandFilename (char *)
 
static int MagickReadDirectory (DIR *directory, struct dirent *entry, struct dirent **result)
 
static int access_utf8 (const char *path, int mode)
 
static FILE * fopen_utf8 (const char *path, const char *mode)
 
static void getcwd_utf8 (char *path, size_t extent)
 
static int open_utf8 (const char *path, int flags, mode_t mode)
 
static FILE * popen_utf8 (const char *command, const char *type)
 
static int remove_utf8 (const char *path)
 
static int rename_utf8 (const char *source, const char *destination)
 
static int set_file_timestamp (const char *path, struct stat *attributes)
 
static int stat_utf8 (const char *path, struct stat *attributes)
 

Function Documentation

◆ access_utf8()

static int access_utf8 ( const char *  path,
int  mode 
)
inlinestatic

◆ ChopPathComponents()

MagickPrivate void ChopPathComponents ( char *  ,
const  size_t 
)

Referenced by GetConfigurePaths().

◆ ExpandFilename()

MagickPrivate void ExpandFilename ( char *  path)

◆ fopen_utf8()

static FILE * fopen_utf8 ( const char *  path,
const char *  mode 
)
inlinestatic

Definition at line 154 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by LogMagickEventList(), and OpenBlob().

◆ getcwd_utf8()

static void getcwd_utf8 ( char *  path,
size_t  extent 
)
inlinestatic

Definition at line 182 of file utility-private.h.

References MagickPathExtent.

Referenced by ExpandFilenames().

◆ GetExecutionPath()

MagickPrivate MagickBooleanType GetExecutionPath ( char *  ,
const  size_t 
)

Referenced by MagickCoreGenesis().

◆ GetMagickPageSize()

MagickPrivate ssize_t GetMagickPageSize ( void  )

Definition at line 1136 of file utility.c.

Referenced by PersistPixelCache(), and ResourceComponentGenesis().

◆ GetPathComponents()

MagickPrivate char ** GetPathComponents ( const char *  ,
size_t *   
)

Referenced by AddPathToXMLTree(), and GetXMLTreePath().

◆ ListFiles()

◆ MagickReadDirectory()

static int MagickReadDirectory ( DIR directory,
struct dirent entry,
struct dirent **  result 
)
inlinestatic

Definition at line 47 of file utility-private.h.

References readdir().

Referenced by ListFiles().

◆ open_utf8()

◆ popen_utf8()

static FILE * popen_utf8 ( const char *  command,
const char *  type 
)
inlinestatic

Definition at line 225 of file utility-private.h.

References AcquireQuantumMemory(), and RelinquishMagickMemory().

Referenced by ExternalDelegateCommand(), and OpenBlob().

◆ remove_utf8()

static int remove_utf8 ( const char *  path)
inlinestatic

Definition at line 258 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by ShredFile().

◆ rename_utf8()

static int rename_utf8 ( const char *  source,
const char *  destination 
)
inlinestatic

Definition at line 278 of file utility-private.h.

References RelinquishMagickMemory().

◆ set_file_timestamp()

static int set_file_timestamp ( const char *  path,
struct stat *  attributes 
)
inlinestatic

Definition at line 306 of file utility-private.h.

References RelinquishMagickMemory().

◆ ShredFile()

◆ stat_utf8()

static int stat_utf8 ( const char *  path,
struct stat *  attributes 
)
inlinestatic

Definition at line 374 of file utility-private.h.

References RelinquishMagickMemory().

Referenced by GetPathAttributes().