Commit graph

241 commits

Author SHA1 Message Date
Sake Blok
558d6a761e Make buildbot happy again...
svn path=/trunk/; revision=34189
2010-09-22 22:46:36 +00:00
Bill Meier
7219ee2a49 Use val_to_str_ext() & friends to access sminmpec_values[];
Also: packet-nhrp.c: #include sminmpec.h not req'd;

svn path=/trunk/; revision=34143
2010-09-17 04:51:21 +00:00
Stephen Fisher
c3beba4fd1 Bug #5127 from Guenter Strubreiter:
for avoiding doubled definition of a table needed also by a tcap subdissector
plugin a definition in libwirshark.def is needed:

isup_calling_partys_category_value

Me: Change extern to WS_VAR_IMPORT in header file


svn path=/trunk/; revision=34126
2010-09-15 20:29:31 +00:00
Stephen Fisher
07c7d3046a Remove duplicate register_all_protocol_handoffs entry
svn path=/trunk/; revision=34117
2010-09-14 16:03:34 +00:00
Stephen Fisher
fe45005420 Bug #5211 from Guenter Strubreiter:
for writing a TCAP subdissector as a plugin some functions are needed in
libwireshark.def for export



svn path=/trunk/; revision=34116
2010-09-14 15:54:12 +00:00
Stig Bjørlykke
90cb202dbd Added proto_item_prepend_text().
svn path=/trunk/; revision=33800
2010-08-14 17:24:21 +00:00
Anders Broman
26274eb701 From Cal Turney:
Remember folder of capture selected from Welcome screen file dialog.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5038

svn path=/trunk/; revision=33758
2010-08-10 11:36:18 +00:00
Guy Harris
cc3540b0fb Move the code to get version information for libraries used by
libwireshark into libwireshark, and call it only in programs linked with
libwireshark.  That way, programs that don't link with libwireshark
don't have to link with libgcrypt or libgnutls solely so that they can
say that they're linked with a particular version of libgcrypt or
libgnutls.

Don't link dumpcap with libgcrypt or libgnutls any more.

svn path=/trunk/; revision=33531
2010-07-15 02:07:16 +00:00
Stig Bjørlykke
d74c9aa2d0 Added get_column_resolved and set_column_resolved.
svn path=/trunk/; revision=33318
2010-06-25 07:35:52 +00:00
Bill Meier
91431d24f4 Add get_column_visible & set_column_visible
svn path=/trunk/; revision=33268
2010-06-20 16:57:50 +00:00
Guy Harris
11cb04fca6 Export smb_fid_types.
svn path=/trunk/; revision=33234
2010-06-16 07:47:18 +00:00
Anders Broman
0fe31eab26 Add dissector_table_foreach.
svn path=/trunk/; revision=33201
2010-06-09 20:25:50 +00:00
Gerald Combs
fe79af8f42 From Kovarththanan Rajaratnam via bug 3500:
Sébastien's initial commit [1] didn't contain support for embedding Python on
Windows.

[1] http://anonsvn.wireshark.org/viewvc?view=rev&revision=28529


From me:

Comment out PYTHON_EMBED for now.

Start a list of known Python+CRT versions.

Add get_wspython_dir to libwireshark.def.

svn path=/trunk/; revision=33036
2010-06-01 22:20:15 +00:00
Anders Broman
f8f763c18b Add string_replace to exported functions.
svn path=/trunk/; revision=32996
2010-05-27 16:24:44 +00:00
Tomas Kukosa
e2082dedb6 Export value_string_ext related functions
svn path=/trunk/; revision=32971
2010-05-26 07:39:03 +00:00
Jeff Morriss
069fbb2ad3 Remove find_val_for_string
svn path=/trunk/; revision=32951
2010-05-25 20:57:51 +00:00
Guy Harris
ac1b50ba2c Export prefs_capture_device_monitor_mode().
svn path=/trunk/; revision=32821
2010-05-15 20:00:09 +00:00
Jeff Morriss
729de1a635 As suggested in http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html
(as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 :

Write a new convenience routine for finding a conversation and, if it is not
found, create it.  The frame number and addresses are taken from pinfo (as is
the common case).

Use this function in a bunch of dissectors.

svn path=/trunk/; revision=32790
2010-05-13 18:28:34 +00:00
Anders Broman
56dcd99d07 tvbparse_len_left does not seem to exist in tvbparse.c
svn path=/trunk/; revision=32691
2010-05-06 19:15:25 +00:00
Jaap Keuter
069bc0a909 Cleanup and export the TVB parser.
svn path=/trunk/; revision=32689
2010-05-06 18:37:47 +00:00
Stig Bjørlykke
6efcb1adf0 Added an option to display seconds as hours, minutes and seconds
in the packet list, on this format: "1h 2m 3.456s".

svn path=/trunk/; revision=32683
2010-05-06 10:32:59 +00:00
Stig Bjørlykke
13cfe2964f Export add_ip_name_from_string from epan.
svn path=/trunk/; revision=32573
2010-04-27 07:41:34 +00:00
Gerasimos Dimitriadis
dc2ceaa379 Insert the function which analyzes Q.708 ISPCs in libwireshark.def
svn path=/trunk/; revision=32336
2010-03-31 05:36:31 +00:00
Bill Meier
c835846723 Convert tabs to spaces as per the comment in the file.
svn path=/trunk/; revision=32314
2010-03-27 18:43:12 +00:00
Anders Broman
1e784fc7fe Add proto_tree_add_bitmask_text to libwireshark.def
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4621

svn path=/trunk/; revision=32311
2010-03-27 18:19:31 +00:00
Anders Broman
c62344e572 Make tap-diameter-avp.c compile on windows.
I hope strtok_s is portable.

svn path=/trunk/; revision=32134
2010-03-07 16:00:34 +00:00
Anders Broman
31622d1c34 Add oids_cleanup and oids_init to libwireshark.def to make it compile.
svn path=/trunk/; revision=32097
2010-03-03 19:23:12 +00:00
Guy Harris
6ca62ee1eb Sort the geoip_db_ routines, add geoip_db_type(), remove extra
geoip_db_get_paths().

svn path=/trunk/; revision=32056
2010-02-28 21:13:40 +00:00
Stig Bjørlykke
0132384530 Forgot that etype_vals is DATA.
svn path=/trunk/; revision=31811
2010-02-07 10:41:06 +00:00
Stig Bjørlykke
d96a1078a2 Export etype_vals from libwireshark.
Moved some elements alphabetical.

This fixes request in bug 4468.

svn path=/trunk/; revision=31810
2010-02-07 10:29:41 +00:00
Gerasimos Dimitriadis
ba32bc6d54 Fix for Bug 3116
wrong decoding IMSI with GSM MAP protocol

svn path=/trunk/; revision=31764
2010-02-01 21:19:56 +00:00
Gerasimos Dimitriadis
6fd1cec787 From Jakub Zawadzki:
Remove prepare_bits_string from proto.c; Use
equivalent function decode_bits_in_field in to_str.c

svn path=/trunk/; revision=31665
2010-01-25 18:26:47 +00:00
Gerasimos Dimitriadis
065546cdcb Change the prefix of the underscore escaping/unescaping
functions from g_ to ws_; Insert function names in
libwireshark.def

svn path=/trunk/; revision=31662
2010-01-25 18:14:01 +00:00
Ronnie Sahlberg
cb37c28c37 Export the dissect_mscldap_string() that is used to dissect
compressed dns strings.



svn path=/trunk/; revision=31650
2010-01-25 05:38:22 +00:00
Gerald Combs
708e80bf6f Add profile_store_persconffiles.
svn path=/trunk/; revision=31338
2009-12-21 17:20:49 +00:00
Stig Bjørlykke
885093fe09 Export copy_persconffile_profile.
svn path=/trunk/; revision=31336
2009-12-21 14:41:04 +00:00
Jaap Keuter
6af0e4e002 From Richard Pecl:
Adding prefs_register_protocol_subtree to libwireshark.def

svn path=/trunk/; revision=31246
2009-12-11 17:35:10 +00:00
Tomas Kukosa
f11b9097f6 Export more BER functions
svn path=/trunk/; revision=30940
2009-11-12 14:44:40 +00:00
Stig Bjørlykke
3a5c9ec3b2 Load lua scripts in the plugins directory, both global and personal.
List loaded lua scripts in Help->About->Plugins.

svn path=/trunk/; revision=30675
2009-10-23 17:52:18 +00:00
Jeff Morriss
6274e6b1ff ... and emem_init isn't (it is called directly by reassemble_test).
svn path=/trunk/; revision=30651
2009-10-21 00:12:36 +00:00
Guy Harris
7443432ed5 ep_init_chunk() and se_init_chunk() are static.
svn path=/trunk/; revision=30650
2009-10-20 23:50:31 +00:00
Guy Harris
acf223006c Add req_resp_hdrs_do_reassembly to the list of functions that are
exported by libwireshark, so it's usable by plugins.

svn path=/trunk/; revision=30468
2009-10-10 09:38:37 +00:00
Ronnie Sahlberg
06cd64f64b mark the dcerpc 1632 and 3264 type dissectors exportable for windows
svn path=/trunk/; revision=30411
2009-10-09 04:11:36 +00:00
Kovarththanan Rajaratnam
ad7042d2a4 calculate_crc32c -> crc32c_calculate for proper 'namespacing'
svn path=/trunk/; revision=30405
2009-10-08 15:10:43 +00:00
Jeff Morriss
3c960cd5a2 As requested by Gregory Seidman on -dev: add CRC32 functions to libwireshark.def. Use consistent indentation in crc32.c.
svn path=/trunk/; revision=30401
2009-10-08 14:28:23 +00:00
Ronnie Sahlberg
d86f67b925 add a new function read_keytab_file_from_preferences(void)
that can be called by dissectoirs using kerberos keytab files.
This function will load a new keytab file on demand, if it is changed in 
the preferences.

The previous code had you save the preferences and then restart 
wireshark which is suboptimal from a user friendly perspective



svn path=/trunk/; revision=30384
2009-10-07 07:03:33 +00:00
Stig Bjørlykke
e162470d6b Prime interesting fields when selecting a package, so Lua's ProtoField
can extract the field value correctly.

This fixes bug 4058.

svn path=/trunk/; revision=30252
2009-10-02 19:55:43 +00:00
Kovarththanan Rajaratnam
14d2f617c2 Refactor frame_data_init() into frame_data_set_before_dissect() and frame_data_set_after_dissect().
svn path=/trunk/; revision=30066
2009-09-22 14:23:20 +00:00
Kovarththanan Rajaratnam
2e282e7567 Introduce frame_data_cleanup() and start using it
svn path=/trunk/; revision=30023
2009-09-20 18:18:29 +00:00
Kovarththanan Rajaratnam
e56f27dc99 Introduce frame_data_init() and get rid of fill_in_fdata() in tshark.c
svn path=/trunk/; revision=30021
2009-09-20 17:51:16 +00:00