SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php70 > root > usr > include > php > ext > gd > > libgd


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php70/root/usr/include/php/ext/gd//libgd

NameTypeSizeLast ModifiedActions
gd.h File 32783 bytes July 09 2025 07:36:32.
gd_intern.h File 261 bytes July 09 2025 07:36:32.
gd_io.h File 963 bytes July 09 2025 07:36:32.
gdcache.h File 2740 bytes July 09 2025 07:36:32.
gdfontg.h File 529 bytes July 09 2025 07:36:32.
gdfontl.h File 527 bytes July 09 2025 07:36:32.
gdfontmb.h File 495 bytes July 09 2025 07:36:32.
gdfonts.h File 491 bytes July 09 2025 07:36:32.
gdfontt.h File 522 bytes July 09 2025 07:36:32.
gdhelpers.h File 1350 bytes July 09 2025 07:36:32.
jisx0208.h File 71350 bytes July 09 2025 07:36:33.
wbmp.h File 1283 bytes July 09 2025 07:36:33.

Reading File: //opt/cloudlinux/alt-php70/root/usr/include/php/ext/gd//libgd/gdhelpers.h

#ifndef GDHELPERS_H
#define GDHELPERS_H 1

#include <sys/types.h>
#include "php.h"

/* TBB: strtok_r is not universal; provide an implementation of it. */

extern char *gd_strtok_r(char *s, char *sep, char **state);

/* These functions wrap memory management. gdFree is
	in gd.h, where callers can utilize it to correctly
	free memory allocated by these functions with the
	right version of free(). */
#define gdCalloc(nmemb, size)	ecalloc(nmemb, size)
#define gdMalloc(size)		emalloc(size)
#define gdRealloc(ptr, size)	erealloc(ptr, size)
#define gdEstrdup(ptr)		estrdup(ptr)
#define gdFree(ptr)		efree(ptr)
#define gdPMalloc(ptr)		pemalloc(ptr, 1)
#define gdPFree(ptr)		pefree(ptr, 1)
#define gdPEstrdup(ptr)		pestrdup(ptr, 1)

/* Returns nonzero if multiplying the two quantities will
	result in integer overflow. Also returns nonzero if
	either quantity is negative. By Phil Knirsch based on
	netpbm fixes by Alan Cox. */

int overflow2(int a, int b);

#ifdef ZTS
#define gdMutexDeclare(x) MUTEX_T x
#define gdMutexSetup(x) x = tsrm_mutex_alloc()
#define gdMutexShutdown(x) tsrm_mutex_free(x)
#define gdMutexLock(x) tsrm_mutex_lock(x)
#define gdMutexUnlock(x) tsrm_mutex_unlock(x)
#else
#define gdMutexDeclare(x)
#define gdMutexSetup(x)
#define gdMutexShutdown(x)
#define gdMutexLock(x)
#define gdMutexUnlock(x)
#endif

#endif /* GDHELPERS_H */


SILENT KILLER Tool