Ethereal-dev: Re: [Ethereal-dev] g_string_new, multiple strings, and CLEANUP_PUSH

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

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: 15 Mar 2002 13:00:40 -0600
On Fri, 2002-03-15 at 12:36, Richard Sharpe wrote:
> Hi,
> 
> I want to use the CLEANUP_PUSH functions with multiple strings in a 
> dissector.
> 
> Is there a GLIB function that allows me to create a string area that I can 
> allocate strings out of, and then just free that whole area?
> 

Look at GStringChunk's:

http://developer.gnome.org/doc/API/glib/glib-string-chunks.html

--gilbert