diff options
author | Michael Mann <mmann78@netscape.net> | 2016-12-15 13:01:27 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-12-16 03:04:11 +0000 |
commit | 232cb9a2dd87ea9cc9c88d4c32bfb7b452705130 (patch) | |
tree | ff1b2039727322c1f8e332f2040f0ba5d83c4f43 /epan/unit_strings.h | |
parent | 8efb7fece1ffefd26dacd79f5ec8722c4e01e827 (diff) |
Remove proto_item_append_text calls in favor of BASE_UNIT_STRING.
Many proto_item_append_text calls were just adding a unit string to a field.
There's a better way to do that now.
Change-Id: Id18d5ac1ea4d8ecdc4cbe7ebaec07fbd2eab6e78
Reviewed-on: https://code.wireshark.org/review/19289
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/unit_strings.h')
-rw-r--r-- | epan/unit_strings.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/unit_strings.h b/epan/unit_strings.h index 5c4997ff71..cbe94f8076 100644 --- a/epan/unit_strings.h +++ b/epan/unit_strings.h @@ -52,10 +52,12 @@ WS_DLL_PUBLIC const unit_name_string units_byte_bytes; WS_DLL_PUBLIC const unit_name_string units_octet_octets; WS_DLL_PUBLIC const unit_name_string units_word_words; WS_DLL_PUBLIC const unit_name_string units_tick_ticks; +WS_DLL_PUBLIC const unit_name_string units_meter_meters; WS_DLL_PUBLIC const unit_name_string units_second_seconds; // full unit name "second[s?]" WS_DLL_PUBLIC const unit_name_string units_seconds; //only seconds abbreviation "s" WS_DLL_PUBLIC const unit_name_string units_millisecond_milliseconds; // full unit name "millisecond[s?]" WS_DLL_PUBLIC const unit_name_string units_milliseconds; //only seconds abbreviation "ms" +WS_DLL_PUBLIC const unit_name_string units_microsecond_microseconds; // full unit name "microsecond[s?]" WS_DLL_PUBLIC const unit_name_string units_microseconds; //only seconds abbreviation "us" WS_DLL_PUBLIC const unit_name_string units_nanosecond_nanoseconds; // full unit name "nanosecond[s?]" WS_DLL_PUBLIC const unit_name_string units_nanometers; @@ -63,12 +65,18 @@ WS_DLL_PUBLIC const unit_name_string units_degree_degrees; WS_DLL_PUBLIC const unit_name_string units_decibals; WS_DLL_PUBLIC const unit_name_string units_dbm; WS_DLL_PUBLIC const unit_name_string units_percent; +WS_DLL_PUBLIC const unit_name_string units_khz; WS_DLL_PUBLIC const unit_name_string units_ghz; WS_DLL_PUBLIC const unit_name_string units_mhz; WS_DLL_PUBLIC const unit_name_string units_hz; WS_DLL_PUBLIC const unit_name_string units_hz_s; WS_DLL_PUBLIC const unit_name_string units_kbit; WS_DLL_PUBLIC const unit_name_string units_kbps; +WS_DLL_PUBLIC const unit_name_string units_kibps; +WS_DLL_PUBLIC const unit_name_string units_kmh; +WS_DLL_PUBLIC const unit_name_string units_uW; +WS_DLL_PUBLIC const unit_name_string units_m_per_s; +WS_DLL_PUBLIC const unit_name_string units_m_per_s_per_s; WS_DLL_PUBLIC const unit_name_string units_bit_sec; WS_DLL_PUBLIC const unit_name_string units_segment_remaining; |