MagickCore 6.9.11-60
Convert, Edit, Or Compose Bitmap Images
resource_.h
Go to the documentation of this file.
1/*
2 Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
4
5 You may not use this file except in compliance with the License. You may
6 obtain a copy of the License at
7
8 https://imagemagick.org/script/license.php
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 MagickCore resource methods.
17*/
18#ifndef MAGICKCORE_RESOURCE_H
19#define MAGICKCORE_RESOURCE_H
20
21#if defined(__cplusplus) || defined(c_plusplus)
22extern "C" {
23#endif
24
25typedef enum
26{
40
41#define MagickResourceInfinity (MagickULLConstant(~0) >> 1)
42
43extern MagickExport int
45
52
56
57extern MagickExport void
61
62#if defined(__cplusplus) || defined(c_plusplus)
63}
64#endif
65
66#endif
size_t MagickSizeType
Definition: magick-type.h:140
MagickBooleanType
Definition: magick-type.h:203
#define MagickExport
Definition: method-attribute.h:80
MagickExport void ResourceComponentTerminus(void)
Definition: resource.c:1462
MagickExport MagickBooleanType ResourceComponentGenesis(void)
MagickExport int AcquireUniqueFileResource(char *)
Definition: resource.c:516
MagickExport MagickBooleanType SetMagickResourceLimit(const ResourceType, const MagickSizeType)
Definition: resource.c:1506
MagickExport void AsynchronousResourceComponentTerminus(void)
ResourceType
Definition: resource_.h:26
@ DiskResource
Definition: resource_.h:29
@ AreaResource
Definition: resource_.h:28
@ UndefinedResource
Definition: resource_.h:27
@ TimeResource
Definition: resource_.h:34
@ MapResource
Definition: resource_.h:31
@ HeightResource
Definition: resource_.h:37
@ FileResource
Definition: resource_.h:30
@ MemoryResource
Definition: resource_.h:32
@ ThreadResource
Definition: resource_.h:33
@ ListLengthResource
Definition: resource_.h:38
@ WidthResource
Definition: resource_.h:36
@ ThrottleResource
Definition: resource_.h:35
MagickExport MagickBooleanType ListMagickResourceInfo(FILE *, ExceptionInfo *)
MagickExport MagickBooleanType AcquireMagickResource(const ResourceType, const MagickSizeType)
MagickExport void RelinquishMagickResource(const ResourceType, const MagickSizeType)
MagickExport MagickSizeType GetMagickResource(const ResourceType)
MagickExport MagickSizeType GetMagickResourceLimit(const ResourceType)
Definition: resource.c:810
MagickExport MagickBooleanType RelinquishUniqueFileResource(const char *)
Definition: exception.h:103