aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/agentx
AgeCommit message (Collapse)AuthorFilesLines
2007-04-05Add the make-dissector-reg scripts to the dependency list for each copyGerald Combs1-1/+1
of plugin.c. svn path=/trunk/; revision=21342
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-1/+1
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-23Fix about 150 warnings new to gcc 4.0 in the error on warning directories.Stephen Fisher1-1/+1
Comment out -Werror in plugins/asn1/ until warnings can be fixed. svn path=/trunk/; revision=21158
2007-03-23From Sebastien Tandel:Stephen Fisher1-1/+1
(Temporarily disable the warnings as errors default on Unix to get to get the buildbots and people with gcc40 going again until those additional warnings gcc40 generates can be fixed-I'm working on it ASAP) Patch for configure.in which disables by default the treatment of warnings as errors. It can be enabled with './configure --with-warnings-as-errors'. The macro will test first if GCC is present. If it's the case, HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced by HAVE_WARNINGS_AS_ERRORS. With this switch, people won't suffer from unexpected warnings when downloading svn sources during the transition time ;) svn path=/trunk/; revision=21153
2007-03-22Add -Werror when using GCC only to the Makefile.am of the baseStephen Fisher1-0/+4
directory and most of the plugins to match the same command put in the Makefile.nmake files for Windows compliations. Fix a few warnings when compiling under gcc 3.4.4 on FreeBSD. Create new automake file variable called USING_GCC in configure.in and wiretap/configure.in to acomplish the above -Werror addition. svn path=/trunk/; revision=21127
2007-03-21set CFLAGS to block new warnings for all plugins (except for giop and h223, ↵Ulf Lamping1-1/+1
which has remaining issues - for now) svn path=/trunk/; revision=21102
2007-02-26-Add the compiler version to the plugin resourceJaap Keuter2-3/+5
-Remove the SPECIAL_BUILD tag -Set to OS type to NT_WINDOWS32 svn path=/trunk/; revision=20934
2007-01-03clean should also remove generated plugin.c and manifest filesUlf Lamping1-2/+3
svn path=/trunk/; revision=20291
2006-12-19Add Windows version info resource.Jaap Keuter4-9/+87
svn path=/trunk/; revision=20155
2006-10-31change the signature for the get_pdu_len() function pointer passed to ↵Ronnie Sahlberg1-1/+1
tcp_dissect_pdus() to also include a packet_info pointer. there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size svn path=/trunk/; revision=19751
2006-10-29put every python script name into "" so the call won't fail on Win32 native ↵Ulf Lamping1-1/+1
python. The problem is the slash in e.g.: @$(PYTHON) ../../tools/make-dissector-reg.py is interpreted as an option instead of being part of the path. I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port. svn path=/trunk/; revision=19730
2006-06-02remove plugin.c in distlcleanJörg Mayer1-1/+2
svn path=/trunk/; revision=18312
2006-05-31libethereal -> libwireshark. idl2eth -> idl2wrs. There are a _lot_ ofGerald Combs1-3/+3
changes here. It compiles OK on OS X, but hasn't been tested anywhere else. svn path=/trunk/; revision=18260
2006-05-21name changeRonnie Sahlberg3-6/+6
svn path=/trunk/; revision=18197
2006-04-22Convert most other plugin dissectors to use the make-dissector-regGuy Harris4-39/+158
scripts. svn path=/trunk/; revision=17961
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵Ronnie Sahlberg1-0/+1
acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global. while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . svn path=/trunk/; revision=17681
2005-10-16Fix a typo found by Guy.Gerald Combs1-46/+46
svn path=/trunk/; revision=16241
2005-09-25Don't write before the beginning of a buffer. Add an item to theGerald Combs1-3/+2
release notes. svn path=/trunk/; revision=16003
2005-09-21Move a comment to the right place.Gerald Combs1-2/+1
svn path=/trunk/; revision=15932
2005-07-10After doing "make maintainer-clean", "svn status --no-ignore | grep ^I"Jörg Mayer1-0/+3
returned quite a list of files. Add them to MAINTAINERCLEANFILES. Whitespace changes (replace multiple spaces by TABs, in a few cases this needed to be done at the beginning of Makefile lines. svn path=/trunk/; revision=14891
2005-05-10Don't write a '\0' way the heck past the end of an array. Fixes bug 164.Gerald Combs1-0/+3
Add a comment asking if we shouldn't use oid_to_str() instead of our own routine. svn path=/trunk/; revision=14344
2005-03-27bugfix of a bug causing tethereal value output to fail:Ulf Lamping1-0/+1
value_string's must be terminated with { 0, NULL }!!! ...seems I've missed one place in my last commit! svn path=/trunk/; revision=13930
2005-03-27bugfix of a bug causing tethereal value output to fail:Ulf Lamping1-1/+4
value_string's must be terminated with { 0, NULL }!!! svn path=/trunk/; revision=13928
2005-03-20From Oleg Terletsky:Guy Harris1-91/+47
get rid of a debugging printout; in "get_agentx_pdu_len()", fetch the payload length in the right byte order. If the NETWORK_BYTE_ORDER flag isn't set, that means "little-endian", not "host byte order" - the host on which I'm typing this is big-endian! That means that using the "g_hton[ls]()" macros on the result of "tvb_get_ntoh[ls]()" won't give you little-endian values on a big-endian host; just directly use "tvb_get_letoh[ls]()" to fetch little-endian values. Use "proto_tree_add_item()" whenever possible. svn path=/trunk/; revision=13834
2005-03-07Call the "new-style init" routine for plugins a "register" routine, asGuy Harris1-6/+6
it serves the same purpose as the register routine in a built-in dissector, and don't require all dissectors to have one, as they might just be taps. Get rid of the stats tree's init routine, as it's just a tap, and as it doesn't do anything. Update the idl2eth Python script to generate plugins with register routines. svn path=/trunk/; revision=13644
2005-03-05Preparations for dropping the old plugin api.Lars Roland2-14/+5
Introduce a new init routine for plugins, which does not take the plugin api table as an argument and allows etheral to distinguish between plugins using the old and the new api. Update README.plugins accordingly Change all g_warnings() in epan/plugins.c to report_failue(). On windows we do not have a log console open while loading the plugins, because a log console cannot be opened before the prefs have been read. Thus g_warnings() does not work for reporting problems with plugins. svn path=/trunk/; revision=13596
2005-02-14Make the "maintainer-clean" rules get rid of some additional generatedGuy Harris1-0/+2
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and GENERATED_FILES macros in Makefile.common files, along the lines of what wiretap/Makefile.common has. Clean up "*~" files with "make clean" rather than only "make distclean" in some additional places. Add "maintainer-clean" rules to the Makefile.nmake files, paralelling the ones in the automake-generated Makefile.in files, using the GENERATED_FILES macros from Makefile.common files. In some cases, move the cleanup of files from "make distclean" to "make maintainer-clean", and in other cases, put in a comment indicating why we're not doing that (because some files that are distributed in the source tarballs, namely Flex output, were built with a UN*X Flex and won't compile on Windows, so we get rid of them with "make distclean" so you can clean up stuff that *has* to be re-generated for Windows). Clean up some *CLEANFILES definitions - get rid of ones that no longer apply as files were moved or that add to the definition a name that's already there. svn path=/trunk/; revision=13402
2005-02-10Use tcp_dissect_pdus().Guy Harris1-175/+106
svn path=/trunk/; revision=13377
2005-02-10Use VB_ rather than V_ for the VarBind types, to avoid a collision withGuy Harris1-39/+39
V_INT in oleauto.h in Windows. svn path=/trunk/; revision=13376
2005-02-10From Oleg Terletsky: AgentX support.Guy Harris5-0/+1353
svn path=/trunk/; revision=13372