diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-12 07:25:34 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-01-12 07:25:34 +0000 |
commit | 24ad6e3c0241605686126078194ea8249486b9cd (patch) | |
tree | dbffc545e4ae2e1c8dca08bb31f4f0b8aa361d3e /doc | |
parent | 09acf94381fb924c8149eb97dd9ca6ae0edd1076 (diff) |
Document and export:
tvb_bcd_dig_to_ep_str();
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35499 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.developer | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.developer b/doc/README.developer index 56e3424466..b8956c82b8 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -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); |