Commit Graph

25 Commits

Author SHA1 Message Date
Jörg Mayer 029e258225 Explicitly include emem.h where it is needed
svn path=/trunk/; revision=51997
2013-09-13 08:16:50 +00:00
Evan Huus 4fade3bc2d Convert GCP to wmem. It is only called from dissectors in the proper scope
already (yay!).

svn path=/trunk/; revision=51753
2013-09-04 20:42:12 +00:00
Michael Mann 3eafc74e2b Convert proto_item_set_expert_flags to "filterable" items in alcap dissector. Unfortunately it had a few tentacles, so they needed to be brought along for the ride.
svn path=/trunk/; revision=51136
2013-08-04 13:46:25 +00:00
Anders Broman 14613716ea From beroset:
remove C++ incompatibilities from gcp.c

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48291
2013-03-14 06:47:05 +00:00
Guy Harris 8ed7a73e22 Fix a bunch of warnings.
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
sizeof.

Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
strtol() and strtoul().

Change some data types to avoid those implicit conversion warnings.

When assigning a constant to a float, make sure the constant isn't a
double, by appending "f" to the constant.

Constify a bunch of variables, parameters, and return values to
eliminate warnings due to strings being given const qualifiers.  Cast
away those warnings in some cases where an API we don't control forces
us to do so.

Enable a bunch of additional warnings by default.  Note why at least
some of the other warnings aren't enabled.

randpkt.c and text2pcap.c are used to build programs, so they don't need
to be in EXTRA_DIST.

If the user specifies --enable-warnings-as-errors, add -Werror *even if
the user specified --enable-extra-gcc-flags; assume they know what
they're doing and are willing to have the compile fail due to the extra
GCC warnings being treated as errors.

svn path=/trunk/; revision=46748
2012-12-26 05:57:06 +00:00
Jeff Morriss 3729335973 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45016
2012-09-20 01:48:30 +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
Anders Broman b27a250a0d From Václav Horčák:
When context id is reused by another termination, initial packet containing $
(=choose one) is not added to context but belongs to context 0xfffffffe(context
id value used in wireshark for choose one). This affects context listing in
MEGACO packet contents and Telephony->Voip Calls listings for MEGACO.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6311

svn path=/trunk/; revision=38910
2011-09-07 05:02:43 +00:00
Stig Bjørlykke c98835cc92 Untabify.
svn path=/trunk/; revision=38398
2011-08-07 20:18:51 +00:00
Anders Broman 3ff91f8147 g_ascii_strdown Returns a newly-allocated string.
svn path=/trunk/; revision=38397
2011-08-07 20:08:08 +00:00
Jeff Morriss a2393ea239 Use g_ascii_strdown instead of g_strdown
svn path=/trunk/; revision=36385
2011-03-28 19:44:41 +00:00
Bill Meier 7f0107220d Fix various instances of "unreachable code".
svn path=/trunk/; revision=35713
2011-01-30 23:27:57 +00:00
Jaap Keuter c5502f37e3 Whitespace/indentation/code style cleanup.
svn path=/trunk/; revision=33070
2010-06-03 07:38:27 +00:00
Kovarththanan Rajaratnam 37e414a1d7 Add DISSECTOR_ASSERT before dereferencing pointer
svn path=/trunk/; revision=30345
2009-10-05 18:45:03 +00:00
Stig Bjørlykke 92a02af720 Fixed an if-check in gcp_analyze_msg().
svn path=/trunk/; revision=30198
2009-09-29 19:18:43 +00:00
Stig Bjørlykke 8ef079dc75 Made gcp_trx_to_str() static.
svn path=/trunk/; revision=30192
2009-09-29 10:22:06 +00:00
Stig Bjørlykke e2d6320d75 Only include config.h in C files, to avoid multiple inclusion.
svn path=/trunk/; revision=30182
2009-09-28 17:58:47 +00:00
Kovarththanan Rajaratnam 8c48c6835f Rename address_to_str() to ep_address_to_str() because:
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().

svn path=/trunk/; revision=29747
2009-09-06 14:25:47 +00:00
Balint Reczey 43ac3652a3 Service response time statistics for MEGACO (GUI only).
svn path=/trunk/; revision=27140
2008-12-31 15:26:48 +00:00
Bill Meier a3d5cbf5d8 gcp_initailized --> gcp_initialized; localize same
svn path=/trunk/; revision=26692
2008-11-04 21:13:26 +00:00
Guy Harris 08ab8d8734 mtp3_addr_to_str_buf() and mtp3_pc_hash() expect to be passed a pointer
to a mtp3_addr_pc_t; declare them as such, and pass the argument as
such.

svn path=/trunk/; revision=21595
2007-04-26 07:57:44 +00:00
Luis Ontanon ee315df6dc Add Licence and TO DO list
svn path=/trunk/; revision=21289
2007-03-31 12:25:37 +00:00
Luis Ontanon 32780e71e8 do not pass a null string to proto_item_append_text()
svn path=/trunk/; revision=21252
2007-03-28 19:34:35 +00:00
Luis Ontanon 74fbeea0d5 the forgotten files from the last checkin
svn path=/trunk/; revision=21217
2007-03-26 23:06:38 +00:00
Luis Ontanon 0b3d2a90ff Migrate context tracing code from packet-h248.[ch] to gcp.[ch], so that the same code can be used by megaco (upcoming).
svn path=/trunk/; revision=21189
2007-03-25 21:42:26 +00:00