Commit Graph

254 Commits

Author SHA1 Message Date
Stephen Fisher d1af954fce Add proto_item_append_string() to exported functions per:
http://www.wireshark.org/lists/wireshark-dev/201011/msg00153.html


svn path=/trunk/; revision=34867
2010-11-14 15:53:41 +00:00
Bill Meier c17c9fff87 Use value_string_ext fcns to access certain value_string arrays;
Sort a few value_string arrays to be in ascending order by value;
Do minor reformatting and whitespace cleanup.

svn path=/trunk/; revision=34813
2010-11-08 21:59:39 +00:00
Anders Broman cab0cef11d Use value_string_ext for RTP payload types.
svn path=/trunk/; revision=34804
2010-11-08 14:43:59 +00:00
Bill Meier b78ec52693 Use value_string_ext fcns to access certain value_string arrays;
Sort certain value_string arrays so the values are in ascending order;
Use val_to_str_ext() instead of for loops to do value_string array lookups (voip_calls.c).
Minor whitespace cleanup.

svn path=/trunk/; revision=34794
2010-11-05 22:44:03 +00:00
Bill Meier 0ca948bacf Use value_string_ext fcns to access certain value_string arrays;
Some whitespace cleanup.

svn path=/trunk/; revision=34763
2010-11-03 18:28:35 +00:00
Bill Meier f543357d14 Use value_string_ext fcns to access certain value_string arrays.
svn path=/trunk/; revision=34692
2010-10-29 20:22:02 +00:00
Stig Bjørlykke 321188339e Added two new functions: nstime_diff() and nstime_subtract().
svn path=/trunk/; revision=34660
2010-10-27 07:44:26 +00:00
Anders Broman 9c9db7d4d4 From CaL Turney:
Add support for well-known SIDs/RIDs and option to display in hex.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5286

svn path=/trunk/; revision=34613
2010-10-22 05:15:25 +00:00
Bill Meier 15851701e8 Rework "extended value strings":
- Allow direct access when a range of values begins with a value other than 0;
- Provide value_string_ext_new() for creating extended value strings at runtime;
- Do access to value_string_ext members via a macro (all but value_string.c);
- Update documentation.

svn path=/trunk/; revision=34514
2010-10-14 17:50:35 +00:00
Bill Meier c78221d4ce Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.
svn path=/trunk/; revision=34487
2010-10-12 13:15:08 +00:00
Bill Meier 09d718f723 Rename vals_status & vals_pdu_type to wsp_vals_status & wsp_vals_pdu_type
svn path=/trunk/; revision=34463
2010-10-10 20:45:19 +00:00
Stig Bjørlykke ccfe41300c Added "Edit Column Details" functions to the packet list heading popup.
Removed "Rename Column Title" as this is moved to "Edit Column Details".

svn path=/trunk/; revision=34444
2010-10-09 15:22:53 +00:00
Stig Bjørlykke 371de294df Export is_default_profile().
svn path=/trunk/; revision=34314
2010-10-01 17:06:04 +00:00
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