18 #ifndef _MAGICKCORE_HASHMAP_H
19 #define _MAGICKCORE_HASHMAP_H
21 #if defined(__cplusplus) || defined(c_plusplus)
25 #define SmallHashmapSize 17
26 #define MediumHashmapSize 509
27 #define LargeHashmapSize 8191
28 #define HugeHashmapSize 131071
39 (
const void *,
const void *),
void *(*)(
void *),
void *(*)(
void *));
51 int (*)(
const void *,
const void *),
void **,
const void *),
79 #if defined(__cplusplus) || defined(c_plusplus)
MagickExport void * RemoveLastElementFromLinkedList(LinkedListInfo *)
MagickExport size_t HashStringType(const void *)
MagickExport void ClearLinkedList(LinkedListInfo *, void *(*)(void *))
MagickExport MagickBooleanType InsertValueInSortedLinkedList(LinkedListInfo *, int(*)(const void *, const void *), void **, const void *)
MagickExport void * GetNextValueInLinkedList(LinkedListInfo *)
MagickExport MagickBooleanType AppendValueToLinkedList(LinkedListInfo *, const void *)
MagickExport MagickBooleanType CompareHashmapStringInfo(const void *, const void *)
MagickExport void * RemoveElementFromLinkedList(LinkedListInfo *, const size_t)
MagickExport void ResetHashmapIterator(HashmapInfo *)
MagickExport void * GetValueFromHashmap(HashmapInfo *, const void *)
MagickExport size_t HashPointerType(const void *)
MagickExport void * GetLastValueInLinkedList(LinkedListInfo *)
MagickExport void * RemoveElementByValueFromLinkedList(LinkedListInfo *, const void *)
MagickExport void * GetNextValueInHashmap(HashmapInfo *)
MagickExport MagickBooleanType LinkedListToArray(LinkedListInfo *, void **)
MagickExport LinkedListInfo * NewLinkedList(const size_t)
MagickExport LinkedListInfo * DestroyLinkedList(LinkedListInfo *, void *(*)(void *))
MagickExport size_t GetNumberOfEntriesInHashmap(const HashmapInfo *)
MagickExport void ResetLinkedListIterator(LinkedListInfo *)
MagickExport void * GetNextKeyInHashmap(HashmapInfo *)
MagickExport void * GetValueFromLinkedList(LinkedListInfo *, const size_t)
MagickExport MagickBooleanType InsertValueInLinkedList(LinkedListInfo *, const size_t, const void *)
MagickExport HashmapInfo * DestroyHashmap(HashmapInfo *)
MagickExport void * RemoveEntryFromHashmap(HashmapInfo *, const void *)
MagickExport size_t HashStringInfoType(const void *)
MagickExport MagickBooleanType IsHashmapEmpty(const HashmapInfo *)
MagickExport size_t GetNumberOfElementsInLinkedList(const LinkedListInfo *)
MagickExport MagickBooleanType CompareHashmapString(const void *, const void *)
MagickExport HashmapInfo * NewHashmap(const size_t, size_t(*)(const void *), MagickBooleanType(*)(const void *, const void *), void *(*)(void *), void *(*)(void *))
MagickExport MagickBooleanType IsLinkedListEmpty(const LinkedListInfo *)
MagickExport MagickBooleanType PutEntryInHashmap(HashmapInfo *, const void *, const void *)