aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_core.c
AgeCommit message (Expand)AuthorFilesLines
2016-08-01Remove checkAPI warnings from wmem.Michael Mann1-1/+3
2016-05-13Have wmem conform to checkAPIs.plMichael Mann1-3/+3
2014-10-06Adjust some whitespace to match editor modelines.Bill Meier1-2/+2
2014-05-02wmem: add new simple block allocator, use it in packet-scope.Jakub Zawadzki1-0/+7
2014-04-23Hash map implementation for wmem.Evan Huus1-0/+2
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
2013-10-15As suggested separately by both Jakub and Anders: only read theEvan Huus1-19/+35
2013-09-01Send all alloc and free calls within wmem through wmem_alloc and wmem_free withEvan Huus1-2/+2
2013-06-19Rework wmem scoping limits so that users can still get a handle to a pool whenEvan Huus1-6/+11
2013-06-18Scrap wmem_memdup, it's not actually as useful as I thought it would be.Evan Huus1-11/+0
2013-06-16More callback tweaks, to permit unregistering a callback from the same placeEvan Huus1-1/+1
2013-06-16Rework the user callback code a bit to make it saner to use with the auto-resetEvan Huus1-1/+2
2013-06-09Add memdup function to wmem.Evan Huus1-0/+11
2013-05-22Minor refactor: make the framework responsible for allocating and freeing theEvan Huus1-7/+9
2013-05-08Round two of wmem cleanup callbacks. While the emem tree behaviour will requireEvan Huus1-42/+9
2013-05-07Add user callbacks to wmem. This feature is a generic way to transparently mimicEvan Huus1-0/+43
2013-03-20Trivial tweaks to clean up cppcheck warnings.Evan Huus1-1/+3
2013-02-14If the requested wmem allocator is NULL, take that to mean manually-managedEvan Huus1-0/+13
2013-01-23Handle NULL-pointers and 0-lengths in a much simpler allocator-agnostic way,Evan Huus1-6/+27
2013-01-23Add wrapper functions for realloc, free and gc, but don't expose them in theEvan Huus1-0/+18
2012-12-28Add a strict allocator that does canaries and various other things, forEvan Huus1-0/+7
2012-12-27Change the format of the environment variable slightly to allow overridingEvan Huus1-7/+19
2012-12-27Store the type of each wmem allocator.Evan Huus1-3/+13
2012-12-19See if *this* squelches the MSVC errors.Guy Harris1-3/+4
2012-12-19Try to fix windows builds - MSVC doesn't like g_assert_not_reached() ?Evan Huus1-0/+3
2012-12-19Dispatch all allocator creations through a single function using an enum toEvan Huus1-0/+25
2012-12-18Rename allocator_glib to allocator_simple, since the block allocator alsoEvan Huus1-1/+0
2012-11-08Use const in wmem where possible.Evan Huus1-2/+2
2012-11-03Add wmem scopes for packet and file lifetimes. The file lifetime scope isn'tEvan Huus1-10/+3
2012-11-03Rename wmem_permanent_scope -> wmem_epan_scope to reflect the fact that itEvan Huus1-5/+5
2012-10-27Create init and cleanup functions for wmem as a whole.Evan Huus1-0/+21
2012-10-27Make the allocator destructor part of wmem_allocator_t. This avoids twoEvan Huus1-0/+7
2012-10-24Basic skeleton for wmem.Evan Huus1-0/+64