Logo Search packages:      
Sourcecode: wireshark version File versions

proto_item proto_item* proto_tree_add_time_format ( proto_tree tree,
int  hfindex,
tvbuff_t *  tvb,
gint  start,
gint  length,
nstime_t *  value_ptr,
const char *  format,

Add a formatted FT_ABSOLUTE_TIME or FT_RELATIVE_TIME to a proto_tree, with the format generating the entire string for the entry, including any field name.

tree the tree to append this item to
hfindex field index
tvb the tv buffer of the current data
start start of data in tvb
length length of data in tvb
value_ptr pointer to the data to display
format printf like format string
... printf like parameters
the newly created item

Generated by  Doxygen 1.6.0   Back to index