aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1
AgeCommit message (Collapse)AuthorFilesLines
2004-05-24Have two strings in an enum_val_t - one that's a short string that isguy1-12/+12
convenient to put into a command line (no capital letters, no spaces to require quotes), and one that's a detailed description for use in the UI. Allow either of them in the preferences file or "-o" option; use the detailed description in the UI, and also use it when writing the preferences out, so that the preference will be readable by older versions of Ethereal (assuming the preference existed in that version). Update "README.developer" to give more detail about an enum_val_t (and to put the _t in), and to give a more detailed description of the "radio_buttons" argument to "prefs_register_enum_preference()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10982 f5534014-38df-0310-8fa8-9805f1628bb7
2004-04-25Replace the plugin linkage libs into PLUGIN_LIBS which is generated from theobiot1-2/+2
top-level configure.in when running configure. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10699 f5534014-38df-0310-8fa8-9805f1628bb7
2004-04-14Add support for plugin dissectors on cygwin builds, by adding the followingobiot1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10601 f5534014-38df-0310-8fa8-9805f1628bb7
2004-03-23Make "epan_init()" take, as additional arguments, pointers to routinesguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10470 f5534014-38df-0310-8fa8-9805f1628bb7
2004-03-02Note to self: If you update the code, you should update the docs too.jmayer1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10281 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-22Make the default ASN.1 file be "no file", not {Ethereal installguy1-14/+20
directory}/asn1/default.tt. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10192 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-21Add routines that can be called from dissectors to report file open andguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10152 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-20Fix a typo.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10141 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-20On Win32, don't treat "file not found" as an error when trying to loadguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10118 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-18From Lars Roland: Add support for a combined GTK1/2 Windows installer.gerald1-1/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10098 f5534014-38df-0310-8fa8-9805f1628bb7
2004-02-06replaced every appearance of gtk_scrolled_window_new() withulfl1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9999 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-24Added the ability to compile both GTK versions 1 and 2 at the same time.ulfl1-3/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9827 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-18Fix warnings found by -Wstrict-prototypesjmayer1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9721 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-18Remove unused rule to build packet-asn1-static.ojmayer1-4/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9718 f5534014-38df-0310-8fa8-9805f1628bb7
2004-01-13From Matthijs Melchior: allow an absent or empty file name to mean "noguy1-1/+4
type table". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9650 f5534014-38df-0310-8fa8-9805f1628bb7
2003-12-21warning: ISO C does not allow extra ; outside of a functionjmayer1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9386 f5534014-38df-0310-8fa8-9805f1628bb7
2003-12-21warning: comma at end of enumerator listjmayer1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9384 f5534014-38df-0310-8fa8-9805f1628bb7
2003-12-16using G_DIR_SEPARATOR_S instead of hardcoded slashulfl1-2/+2
(not suitable on win32 platforms) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9299 f5534014-38df-0310-8fa8-9805f1628bb7
2003-12-04From some reason, at least on Mac OS X 10.3, the change to have theguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9173 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-17Fix the copyright notices (Gerald has the copyright on Ethereal).guy1-4/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8991 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-11Get rid of carriage returns in source files.guy1-17/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8942 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-09From Albert Chin: the HP-UX 10.20 C compiler doesn't allowguy1-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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8918 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-06Use "$(OBJECTS)" whenever a complete list of .obj files appears, ratherguy1-3/+3
than repeating the list from the setting of OBJECTS. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8893 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-04From Masaki Chikama: fix static compilation of "generic ASN.1" andguy1-2/+2
Gryphon plugins. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8878 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-04#ifdef out "#include <gtk/gtk.h>", so that --disable-ethereal works again.gerald1-1/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8877 f5534014-38df-0310-8fa8-9805f1628bb7
2003-11-02From Gisle Vanem:gerald1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8859 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-30"strchr()" and the like would be compared against NULL; "strcmp()",guy1-2/+2
however, is compared against 0. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8833 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-29From Matthijs Melchior: #ifdef out the GUI code, for now.guy1-1/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8812 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-28Use "get_datafile_path()", rather than constructing the default ASN.1guy1-6/+2
file path by hand. Set "default_asn1_filename", not "asn1_filename", to the default path. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8810 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-28"get_datafile_dir()" is now in the plugin table.guy1-6/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8808 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-28As we don't supply a default ASN.1 SNACC output file, if we get anguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8806 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-28This dissector uses GTK+ calls (which no dissector should); until that'sguy1-3/+3
fixed, use GTK_CFLAGS and GTK_LIBS rather than GLIB_CFLAGS and GLIB_LIBS. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8805 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-28Fix the Makefile to match other plugin Makefiles.guy1-21/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8804 f5534014-38df-0310-8fa8-9805f1628bb7
2003-10-28From Matthias Melchior: plugin to decode BER-encoded ASN.1 messages,guy10-0/+5243
given a type-table from "snacc" as a protocol description. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8799 f5534014-38df-0310-8fa8-9805f1628bb7