diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-02-21 12:39:00 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-02-21 20:39:25 +0000 |
commit | bfb432729156378d2f8fc8b666fda7e7b23e9749 (patch) | |
tree | 4c3e85ba30ff41319e48563ee0063c7b6e990f6c /epan/tvbuff.h | |
parent | f3a68f00a1a9b7a3f28c6986713febaa81b92ba0 (diff) | |
download | wireshark-bfb432729156378d2f8fc8b666fda7e7b23e9749.tar.gz |
Remove tvb_ from the names of wsutil mempbrk routines.
Routines that don't take a tvbuff as an argument shouldn't have tvb_ in
the name.
Change-Id: I3550256551e30b3f329cbbfca71ef27c727d29c0
Reviewed-on: https://code.wireshark.org/review/7302
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index c5936020f2..cb931d0362 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -509,14 +509,14 @@ WS_DLL_PUBLIC gint tvb_find_guint8(tvbuff_t *tvb, const gint offset, /** Find first occurrence of any of the needles of the pre-compiled pattern in * tvbuff, starting at offset. The passed in pattern must have been "compiled" - * before-hand, using tvb_pbrk_compile() above. + * before-hand, using ws_mempbrk_compile(). * Searches at most maxlength number of bytes. Returns the offset of the * found needle, or -1 if not found and the found needle. * Will not throw an exception, even if * maxlength exceeds boundary of tvbuff; in that case, -1 will be returned if * the boundary is reached before finding needle. */ -WS_DLL_PUBLIC gint tvb_pbrk_pattern_guint8(tvbuff_t *tvb, const gint offset, - const gint maxlength, const tvb_pbrk_pattern* pattern, guchar *found_needle); +WS_DLL_PUBLIC gint tvb_ws_mempbrk_pattern_guint8(tvbuff_t *tvb, const gint offset, + const gint maxlength, const ws_mempbrk_pattern* pattern, guchar *found_needle); /** Find size of stringz (NUL-terminated string) by looking for terminating |