Logo Search packages:      
Sourcecode: wireshark version File versions

int proto_item_get_len ( proto_item ti  ) 

Get length of a proto_item. Useful after using proto_tree_add_item() to add a variable-length field (e.g., FT_NSTRING_UINT8).

Parameters:
ti the item to get the length from
Returns:
the current length

Definition at line 3355 of file proto.c.

{


Generated by  Doxygen 1.6.0   Back to index