Michael Mann
e4e536bf1d
Remove need for match_port #define in packet_info.h and just replace existing calls.
...
svn path=/trunk/; revision=52815
2013-10-24 15:04:38 +00:00
Pascal Quantin
a0c53ffaa1
emem -> wmem conversion:
...
- ep_tvb_get_bits() -> wmem_packet_tvb_get_bits()
- tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup()
- tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode()
- tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string()
- tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string()
- tvb_get_ephemeral_string_enc() -> tvb_get_string_enc()
- update docs accordingly
svn path=/trunk/; revision=52172
2013-09-22 15:50:55 +00:00
Michael Mann
0f0c111119
Remove check_col() and the occasional tree.
...
svn path=/trunk/; revision=49920
2013-06-14 01:02:11 +00:00
Anders Broman
2e52e2ac99
[-Wmissing-prototypes]
...
Use explicit casts.
svn path=/trunk/; revision=48347
2013-03-17 09:11:21 +00:00
Jeff Morriss
2552c750e5
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Bill Meier
638d74d43f
Use val_to_str_const() where appropriate;
...
Also (for a few files):
- create/use some extended value strings;
- remove unneeded #include files;
- remove unneeded variable initialization;
- re-order fcns slightly so prefs_reg_handoff...() at end, etc
svn path=/trunk/; revision=44438
2012-08-10 22:55:02 +00:00
Michael Mann
1d9c472cae
convert some simple uses to use ephemeral memory
...
svn path=/trunk/; revision=44413
2012-08-10 02:05:19 +00:00
Guy Harris
bdf148e3ea
Fix non-proto_tree_add_item() calls passing an ENC_ value as the last
...
argument.
svn path=/trunk/; revision=43806
2012-07-18 23:30:45 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Guy Harris
dc06d2643a
Get rid of remaining Booleans-as-encoding-arguments in
...
proto_tree_add_item() calls.
(The field is a counted string, so the byte order is in theory relevant,
although the count is, in this case, a single byte.)
svn path=/trunk/; revision=42482
2012-05-07 19:38:26 +00:00
Jeff Morriss
891c9db19b
As suggested in http://www.wireshark.org/lists/wireshark-dev/201204/msg00062.html :
...
Don't use ENC_BIG_ENDIAN or ENC_LITTLE_ENDIAN with ENC_ASCII: ASCII has no
endianism, so ENC_NA is more appropriate.
svn path=/trunk/; revision=42297
2012-04-27 18:58:37 +00:00
Bill Meier
8fce627622
Thou shalt not stop dissecting after doing processing for COL_INFO ....
...
svn path=/trunk/; revision=41083
2012-02-20 20:23:56 +00:00
Bill Meier
0fee9f56d2
Minor updates:
...
- checkcol() not req'd in a few cases;
- Add an XXX comment about the (mis?)use of tvb_length();
- lenght -> length;
svn path=/trunk/; revision=40505
2012-01-14 17:03:34 +00:00
Alexis La Goutte
d5f64d59fb
From Juha Takala via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6654
...
ELCOM dissector needs small fixes for some protocol sub-field texts
svn path=/trunk/; revision=40131
2011-12-09 16:39:18 +00:00
Alexis La Goutte
380dbe41d0
Enhance Elcom dissector
...
Fix indent and update modelines
svn path=/trunk/; revision=40092
2011-12-04 18:40:19 +00:00
Alexis La Goutte
c2447153e2
Enhance Elcom dissector
...
Replace proto_tree_add_* by proto_tree_add_item
Replace switch/case by value_string
svn path=/trunk/; revision=40091
2011-12-04 18:19:18 +00:00
Chris Maynard
13e3688b64
Fix 2 newly reported Coverity CID's 1331 & 1332: UNUSED_VALUE.
...
svn path=/trunk/; revision=40086
2011-12-03 22:53:55 +00:00
Anders Broman
f5447edd58
From Juha Takala:
...
dissector for ELCOM communication protocol. This protocol is
used mainly by power utilities, to exchange historical, cyclic, and event based
data between SCADA systems.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6616
svn path=/trunk/; revision=40071
2011-12-02 22:05:14 +00:00