diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-12-18 19:03:44 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-12-20 13:32:15 +0000 |
commit | e9b4153f29100d6eb046fe5d112605393b6a5697 (patch) | |
tree | eef0fb9bb71bbc02e2bc36b40fc5ef4f3787cfec /epan/wslua/template-init.lua | |
parent | d5fdbef7f4f103f3cd57524bc68b9a1385c61363 (diff) |
Lua: Add string types and byte seperators support.
Add handling of STR_ASCII and STR_UNICODE as base types for string
and stringz. Add handling of SEP_DOT, SEP_DASH, SEP_COLON and
SEP_SPACE for bytes and uint_bytes. Add SEP_NONE for completeness.
Change-Id: Ida46c215fee7ec7132ec91ab5dd6cb3de4628920
Reviewed-on: https://code.wireshark.org/review/19337
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan/wslua/template-init.lua')
-rw-r--r-- | epan/wslua/template-init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/wslua/template-init.lua b/epan/wslua/template-init.lua index 4850ccb4d1..5891f055ff 100644 --- a/epan/wslua/template-init.lua +++ b/epan/wslua/template-init.lua @@ -130,6 +130,12 @@ end -- %BASES% +-- the following table is since 2.4 +-- %STRING_TYPES% + +-- the following table is since 2.4 +-- %BYTE_SEPARATORS% + -- %ENCODINGS% -- %EXPERT% |