Document and export:

tvb_bcd_dig_to_ep_str();

svn path=/trunk/; revision=35499
This commit is contained in:
Anders Broman 2011-01-12 07:25:34 +00:00
parent 5ebd7cb133
commit c2cefb1e10
2 changed files with 10 additions and 0 deletions

View File

@ -1334,6 +1334,15 @@ gchar *tvb_bytes_to_str_punct(tvbuff_t *tvb, gint offset, gint len, gchar punct)
This function is similar to tvb_bytes_to_str(...) except that 'punct' is inserted
between the hex representation of each byte.
gchar *tvb_bcd_dig_to_ep_str(tvbuff_t *tvb, const gint offset, const gint len, dgt_set_t *dgt, gboolean skip_first);
Given a tvbuff, an offset into the tvbuff, and a length that starts
at that offset (which may be -1 for "all the way to the end of the
tvbuff"), fetch BCD encoded digits from a tvbuff starting from either
the low or high half byte, formating the digits according to an input digit set,
if NUll a default digit set of 0-9 returning "?" for overdecadic digits will be used.
A pointer to the EP allocated string will be returned.
Note: a tvbuff content of 0xf is considered a 'filler' and will end the conversion.
Copying memory:
guint8* tvb_memcpy(tvbuff_t*, guint8* target, gint offset, gint length);

View File

@ -1025,6 +1025,7 @@ timestamp_set_type
timestamp_set_seconds_type
trans2_cmd_vals_ext DATA
tree_is_expanded DATA
tvb_bcd_dig_to_ep_str
tvb_bytes_exist
tvb_bytes_to_str
tvb_bytes_to_str_punct