aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.c
Commit message (Collapse)AuthorAgeFilesLines
* more allocators se_alloc0() se_memdups() se_strdup() se_strndup() ↵Luis Ontanon2005-08-161-0/+50
| | | | | | se_strdup_printf() svn path=/trunk/; revision=15364
* Add beginning of seasonal allocation in addition to the existing ephemeral ↵Ronnie Sahlberg2005-08-121-21/+111
| | | | | | ones. svn path=/trunk/; revision=15301
* Remove two warningsLuis Ontanon2005-07-271-3/+3
| | | | svn path=/trunk/; revision=15109
* new functions:Luis Ontanon2005-07-261-1/+77
| | | | | | | | | | ep_tvb_memdup() ep_alloc0() ep_strsplit() add all of the ep_ allocators to libethereal.def svn path=/trunk/; revision=15100
* I believe we should use DISSECTOR_ASSERT instead of g_assert.Luis Ontanon2005-07-241-11/+7
| | | | | | | fix and clean g_strdup_printf() svn path=/trunk/; revision=15019
* add some utility functions that use ep_alloc instead of g_malloc.Luis Ontanon2005-07-241-0/+57
| | | | | | | | | | ep_memdup ep_strdup ep_strndup ep_strdup_printf svn path=/trunk/; revision=15018
* include stdlib instead of malloc.h Ronnie Sahlberg2005-07-221-1/+1
| | | | svn path=/trunk/; revision=15004
* Set svn:keywords and svn:eol-styleJörg Mayer2005-07-221-1/+1
| | | | svn path=/trunk/; revision=14996
* EMEM : a simple and FAST api to allocate memory that will be automatically ↵Ronnie Sahlberg2005-07-221-0/+140
freed() when the next packet is dissected. This offesr memory allocation with a packet scope making memory leaks less likely and memory management faster. Add initialization calls for both tethereal and ethereal. Convert the ip_to_str() function to use this and avoid doing the silly rotating buffers thing it previously did. We also need an equivalent set of functions for allocation with capture file scope (free when next capture is loaded) but i dont know where to put the free_all call. svn path=/trunk/; revision=14984