diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2014-01-08 00:28:13 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2014-01-08 00:28:13 +0000 |
commit | d28084d1839bb581229f72acc37608b00c2caba7 (patch) | |
tree | fb6ba22256d5334b83e0279879544f28efcb8601 /wsutil/str_util.h | |
parent | e8dd800cc16765afadc8543ed9292ea5caf73df1 (diff) | |
download | wireshark-d28084d1839bb581229f72acc37608b00c2caba7.tar.gz |
Move UAT xton() to wsutil library
Use ws_xton() in few more places.
svn path=/trunk/; revision=54642
Diffstat (limited to 'wsutil/str_util.h')
-rw-r--r-- | wsutil/str_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wsutil/str_util.h b/wsutil/str_util.h index 505bb9088d..0ee55ea7cb 100644 --- a/wsutil/str_util.h +++ b/wsutil/str_util.h @@ -83,6 +83,9 @@ gboolean isprint_string(const gchar *string); WS_DLL_PUBLIC gboolean isdigit_string(guchar *string); +WS_DLL_PUBLIC +int ws_xton(char ch); + typedef enum { format_size_unit_none = 0, /**< No unit will be appended. You must supply your own. */ format_size_unit_bytes = 1, /**< "bytes" for un-prefixed sizes, "B" otherwise. */ |