aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-02-23 14:16:24 -0800
committerGuy Harris <guy@alum.mit.edu>2014-02-26 22:04:08 +0000
commit8d234a0d8c6c974a374e36a58cd7b3d699866464 (patch)
tree9306a7d3b231b5134e1773de238b89fb6dfe9cc8 /tools
parent1dff4e309d036e23c316f2cf9a6d05d5a4449ff2 (diff)
More tvbuff API deprecation, comment expansion, and documentation updates.
Do with tvb_get_stringz() what was done with tvb_get_string(). Redo the comments for the string get routines to try to give more detail in a fashion that's a bit less hard to read. Warn, in comments, of the problems with using tvb_get_string()/tvb_get_stringz() (i.e., if your strings are non-ASCII, all bytes with the 8th bit set are going be replaced by the Unicode REPLACEMENT CHARACTER, and displayed as such). Warn, in a comment, of the problems with tvb_get_const_stringz() (i.e., it gives you raw bytes, rather than guaranteed-to-be-valid UTF-8). Update documentation and release notes appropriately. Change-Id: Ibd3efb92a203861f507ce71bc8d04d19d9d38a93 Reviewed-on: https://code.wireshark.org/review/327 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index e21f75323d..3f8285e7d3 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -132,6 +132,7 @@ my %APIs = (
'tvb_length_remaining', # replaced with tvb_captured_length_remaining
'tvb_ensure_length_remaining', # replaced with tvb_ensure_captured_length_remaining
'tvb_get_string', # replaced with tvb_get_string_enc
+ 'tvb_get_stringz', # replaced with tvb_get_stringz_enc
# wmem calls should replace all emem calls (see doc/README.wmem)
'ep_alloc',