aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1
AgeCommit message (Collapse)AuthorFilesLines
2004-04-25Replace the plugin linkage libs into PLUGIN_LIBS which is generated from theOlivier Biot1-2/+2
top-level configure.in when running configure. svn path=/trunk/; revision=10699
2004-04-14Add support for plugin dissectors on cygwin builds, by adding the followingOlivier Biot1-1/+2
line to every Makefile.am file for a given plugin XXX: XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@ This way symbols defined in libethereal and GLib are resolved when linking the plugin dissector modules. svn path=/trunk/; revision=10601
2004-03-23Make "epan_init()" take, as additional arguments, pointers to routinesGuy Harris1-2/+2
that dissectors should call to report file open and read errors, and have "report_open_failure()" and "report_read_failure()" call through those pointers, rather than being defined and exported by the application using libethereal - instead, the application would define those functions and pass pointers to them to 'epan_init()". Move "report_err.h" to the epan directory, as the functions it declares are now part of the libethereal API. svn path=/trunk/; revision=10470
2004-03-02Note to self: If you update the code, you should update the docs too.Jörg Mayer1-2/+2
Update README.plugins to use ENABLE_STATIC instead of __ETHEREAL_STATIC__ Update some plugins, that were created after my changes according to the outdated docs. Changed occurrences of G_MODULE_EXPORT void plugin_reg_handoff(void) into G_MODULE_EXPORT void plugin_reg_handoff(void) as the one line Python version doesn't work with the Python of Suse 9.0 svn path=/trunk/; revision=10281
2004-02-22Make the default ASN.1 file be "no file", not {Ethereal installGuy Harris1-14/+20
directory}/asn1/default.tt. svn path=/trunk/; revision=10192
2004-02-21Add routines that can be called from dissectors to report file open andGuy Harris1-3/+4
read errors; there are separate implementations for Ethereal (pops up an alert box) and Tethereal (prints an error message). Use those routines in the ASN.1 dissector. svn path=/trunk/; revision=10152
2004-02-20Fix a typo.Guy Harris1-2/+2
svn path=/trunk/; revision=10141
2004-02-20On Win32, don't treat "file not found" as an error when trying to loadGuy Harris1-3/+13
the ASN.1 file if the pathname is the old default file pathname, with the last component preceded by "/" rather than "\", to suppress complaints if you have a preferences file saved under the old regime. svn path=/trunk/; revision=10118
2004-02-18From Lars Roland: Add support for a combined GTK1/2 Windows installer.Gerald Combs1-1/+5
svn path=/trunk/; revision=10098
2004-02-06replaced every appearance of gtk_scrolled_window_new() withUlf Lamping1-6/+4
scrolled_window_new(). added gtk_scrolled_window_set_policy(AUTOMATIC,AUTOMATIC) to scrolled_window_new() added GTK2's gtk_scrolled_window_set_shadow(GTK_SHADOW_IN) to every place needed svn path=/trunk/; revision=9999
2004-01-24Added the ability to compile both GTK versions 1 and 2 at the same time.Ulf Lamping1-3/+9
svn path=/trunk/; revision=9827
2004-01-18Fix warnings found by -Wstrict-prototypesJörg Mayer1-5/+5
svn path=/trunk/; revision=9721
2004-01-18Remove unused rule to build packet-asn1-static.oJörg Mayer1-4/+1
svn path=/trunk/; revision=9718
2004-01-13From Matthijs Melchior: allow an absent or empty file name to mean "noGuy Harris1-1/+4
type table". svn path=/trunk/; revision=9650
2003-12-21warning: ISO C does not allow extra ; outside of a functionJörg Mayer1-2/+2
svn path=/trunk/; revision=9386
2003-12-21warning: comma at end of enumerator listJörg Mayer1-4/+4
svn path=/trunk/; revision=9384
2003-12-16using G_DIR_SEPARATOR_S instead of hardcoded slashUlf Lamping1-2/+2
(not suitable on win32 platforms) svn path=/trunk/; revision=9299
2003-12-04From some reason, at least on Mac OS X 10.3, the change to have theGuy Harris1-2/+2
protocol tree stuff not use GNodes means that the ASN.1 plugin now needs to be explicitly linked against GLib in order to get access to the GNode routines, otherwise you get errors from the run-time linker. svn path=/trunk/; revision=9173
2003-11-17Fix the copyright notices (Gerald has the copyright on Ethereal).Guy Harris1-4/+3
svn path=/trunk/; revision=8991
2003-11-11Get rid of carriage returns in source files.Guy Harris1-17/+17
svn path=/trunk/; revision=8942
2003-11-09From Albert Chin: the HP-UX 10.20 C compiler doesn't allowGuy Harris1-3/+3
typedef enum _foo foo; enum _foo { ... }; You have to define the enum before using it in a typedef. (If I had my ANSI C89 standard handy, I could say whether that was legal ANSI C or not.) svn path=/trunk/; revision=8918
2003-11-06Use "$(OBJECTS)" whenever a complete list of .obj files appears, ratherGuy Harris1-3/+3
than repeating the list from the setting of OBJECTS. svn path=/trunk/; revision=8893
2003-11-04From Masaki Chikama: fix static compilation of "generic ASN.1" andGuy Harris1-2/+2
Gryphon plugins. svn path=/trunk/; revision=8878
2003-11-04#ifdef out "#include <gtk/gtk.h>", so that --disable-ethereal works again.Gerald Combs1-1/+3
svn path=/trunk/; revision=8877
2003-11-02From Gisle Vanem:Gerald Combs1-12/+10
* Added a new function get_file_in_temp() to epan/filesystem.c. This because of asn1.dll plugin which had code to write to a log-file "c:\temp\ethereal.log". I feel this patch makes this safer; I don't even have a c:\temp dir. * Patched packet-asn1.c to use get_file_in_temp(). * Added some #undef to packet-snmp.c to silence gcc. * Changed "%u" -> "%lu" formats in util.c Rename get_file_in_temp() to get_tempfile_path() to match other function names. svn path=/trunk/; revision=8859
2003-10-30"strchr()" and the like would be compared against NULL; "strcmp()",Guy Harris1-2/+2
however, is compared against 0. svn path=/trunk/; revision=8833
2003-10-29From Matthijs Melchior: #ifdef out the GUI code, for now.Guy Harris1-1/+4
svn path=/trunk/; revision=8812
2003-10-28Use "get_datafile_path()", rather than constructing the default ASN.1Guy Harris1-6/+2
file path by hand. Set "default_asn1_filename", not "asn1_filename", to the default path. svn path=/trunk/; revision=8810
2003-10-28"get_datafile_dir()" is now in the plugin table.Guy Harris1-6/+1
svn path=/trunk/; revision=8808
2003-10-28As we don't supply a default ASN.1 SNACC output file, if we get anGuy Harris1-8/+12
ENOENT when trying to open the SNACC file, and the file we're trying to open is the default file, don't print a warning. Fix some typoes. svn path=/trunk/; revision=8806
2003-10-28This dissector uses GTK+ calls (which no dissector should); until that'sGuy Harris1-3/+3
fixed, use GTK_CFLAGS and GTK_LIBS rather than GLIB_CFLAGS and GLIB_LIBS. svn path=/trunk/; revision=8805
2003-10-28Fix the Makefile to match other plugin Makefiles.Guy Harris1-21/+21
svn path=/trunk/; revision=8804
2003-10-28From Matthias Melchior: plugin to decode BER-encoded ASN.1 messages,Guy Harris10-0/+5243
given a type-table from "snacc" as a protocol description. svn path=/trunk/; revision=8799