aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xml.h
AgeCommit message (Collapse)AuthorFilesLines
2017-02-02xml: use wmem allocators and replace GHashTable with wmem_map_t.Dario Lombardo1-3/+3
Change-Id: I9dbddc6fd4a5eaa458843343b3e9b8e1832bde8f Reviewed-on: https://code.wireshark.org/review/19630 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2017-01-15xml(.h): fix indent (use spaces) and modelinesAlexis La Goutte1-25/+38
use same indent like packet-xml.c Change-Id: I687b0306ba1d3559ce4a299a0e66c55e3f04fdfd Reviewed-on: https://code.wireshark.org/review/19641 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-08-25xmpp/xml: Store item length in xml_frame.Stig Bjørlykke1-0/+1
The created XML proto_item can be faked (if not visible and not referenced), so ensure we store the correct item length to be used in XMPP. This will avoid an invalid "Malformed Packet" for some XMPP packets. Change-Id: I79d805b725dbeb93f26a38b72bdcc84187aee16f Reviewed-on: https://code.wireshark.org/review/17324 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-08-17Remove proto_tree_add_text from packet-xml.cMichael Mann1-0/+1
Required introducing packet_info* to xml_frame_t structure. Change-Id: Ie777fe3bc8c7ea052d3441dd31e0631ce47324cb Reviewed-on: https://code.wireshark.org/review/10063 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-0/+5
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
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
2010-07-08from Tarjei Knapstad.Anders Broman1-1/+1
Minor cleanups in packet-xml dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4987 svn path=/trunk/; revision=33475
2009-01-28- add attributes and CDATA into XML structureTomas Kukosa1-0/+7
- implement functions for searching in XML structure svn path=/trunk/; revision=27316
2008-09-24put original tag name (not lowercase) into dissected xml structure tooTomas Kukosa1-0/+1
dissect xml even if tree is null svn path=/trunk/; revision=26261
2008-08-13supply dissected XML structure to caller dissectorTomas Kukosa1-0/+77
svn path=/trunk/; revision=26005