/usr/include/GraphicsMagick/magick/resource.h is in libgraphicsmagick1-dev 1.3.12-1.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*
Copyright (C) 2003 - 2009 GraphicsMagick Group
Copyright (C) 2002 ImageMagick Studio
This program is covered by multiple licenses, which are described in
Copyright.txt. You should have received a copy of Copyright.txt with this
package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
Resource methods.
*/
#ifndef _MAGICK_RESOURCE_H
#define _MAGICK_RESOURCE_H
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
/*
Typedef declarations.
*/
typedef enum
{
UndefinedResource=0, /* Undefined value */
DiskResource, /* Pixel cache total disk space (Gigabytes) */
FileResource, /* Pixel cache number of open files (Files) */
MapResource, /* Pixel cache total file memory-mapping (Megabytes) */
MemoryResource, /* Maximum pixel cache heap memory allocations (Megabytes) */
PixelsResource, /* Maximum number of pixels in single image (Pixels) */
ThreadsResource /* Maximum number of worker threads */
} ResourceType;
/*
Method declarations.
*/
extern MagickExport MagickPassFail
AcquireMagickResource(const ResourceType type,const magick_uint64_t size),
ListMagickResourceInfo(FILE *file,ExceptionInfo *exception),
SetMagickResourceLimit(const ResourceType type,const magick_int64_t limit);
extern MagickExport magick_int64_t
GetMagickResource(const ResourceType type),
GetMagickResourceLimit(const ResourceType type);
extern MagickExport void
DestroyMagickResources(void),
InitializeMagickResources(void),
LiberateMagickResource(const ResourceType type,const magick_uint64_t size);
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#endif
/*
* Local Variables:
* mode: c
* c-basic-offset: 2
* fill-column: 78
* End:
*/
|