Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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:24:10 +0200
On 7/6/05, LEGO <luis.ontanon@xxxxxxxxx> wrote:
> On 7/6/05, Olaf van der Spek <olafvdspek@xxxxxxxxx> wrote:
> > 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?
> >
> 
> Yeah, that will work. then we #define some macros and we've got both!

Hmm, still using C instead of C++?