Ethereal

Re: [Ethereal-dev] Create new tvbuff
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: March 2001


On Sat, Mar 31, 2001 at 10:52:37AM -0600, Jeff Foster wrote:
> Should we wrap all of this in a function to create the tvfbuff and 
> do the linking need.

Yes.

> Something like -
> 
> tvbuff_t*
> new_data_tvbuffer( tvbuff_t *parent_tvb, 
> 			gchar *name,
> 			guint8 *data,
> 			guint len,

It should have both "len" and "reported_len" arguments.

> Where do we put it?

I'd consider giving it a name beginning with "tvb_", and putting it in
"tvbuff.c".



Powered by MHonArc 2.6.10