MagickCore 7.0.10
utility-private.h File Reference
#include "wizard/memory_.h"
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.

Macros

#define WizardMax(x, y)   (((x) > (y)) ? (x) : (y))
 
#define WizardMin(x, y)   (((x) < (y)) ? (x) : (y))
 

Functions

WizardExport char ** GetPathComponents (const char *, size_t *)
 
WizardExport WizardBooleanType GetExecutionPath (char *, const size_t)
 
WizardPrivate ssize_t GetWizardPageSize (void)
 
WizardExport void ChopPathComponents (char *, const size_t)
 
WizardExport void WizardDelay (const WizardSizeType)
 
static int access_utf8 (const char *path, int mode)
 
static FILE * fopen_utf8 (const char *path, const char *mode)
 
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 stat_utf8 (const char *path, struct stat *attributes)
 

Macro Definition Documentation

◆ WizardMax

#define WizardMax (   x,
 
)    (((x) > (y)) ? (x) : (y))

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

◆ WizardMin

#define WizardMin (   x,
 
)    (((x) < (y)) ? (x) : (y))

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

Function Documentation

◆ access_utf8()

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

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

References AcquireQuantumMemory(), and RelinquishWizardMemory().

◆ ChopPathComponents()

WizardExport void ChopPathComponents ( char *  ,
const size_t   
)

Referenced by GetConfigurePaths().

◆ fopen_utf8()

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

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

References AcquireQuantumMemory(), and RelinquishWizardMemory().

Referenced by LogWizardEventList(), and OpenBlob().

◆ GetExecutionPath()

◆ GetPathComponents()

WizardExport char ** GetPathComponents ( const char *  path,
size_t *  number_components 
)

◆ GetWizardPageSize()

WizardPrivate ssize_t GetWizardPageSize ( void  )

Definition at line 817 of file utility.c.

Referenced by AcquireAlignedMemory().

◆ open_utf8()

static int open_utf8 ( const char *  path,
int  flags,
mode_t  mode 
)
inlinestatic

◆ popen_utf8()

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

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

References AcquireQuantumMemory(), and RelinquishWizardMemory().

Referenced by OpenBlob().

◆ remove_utf8()

◆ rename_utf8()

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

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

References AcquireQuantumMemory(), and RelinquishWizardMemory().

◆ stat_utf8()

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

◆ WizardDelay()

WizardExport void WizardDelay ( const WizardSizeType  milliseconds)

Definition at line 1042 of file utility.c.

Referenced by AcquireFileLock().