Ethereal-dev: Re: [Ethereal-dev] Proposal for mew memory allocation API

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Olaf van der Spek <olafvdspek@xxxxxxxxx>
Date: Wed, 6 Jul 2005 19:16:11 +0200
On 7/1/05, LEGO <luis.ontanon@xxxxxxxxx> wrote:
> we might want to add also:
> 
> - e_packet_strdup
> - e_packet_strdup_printf
> - e_packet_memdup
> 
> - e_capture_strdup
> - e_capture_strdup_printf
> - e_capture_memdup

Why not a generic strdup function that you pass an allocator too?