aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-browse.c
AgeCommit message (Collapse)AuthorFilesLines
2013-06-14Remove check_col() and the occasional tree.Michael Mann1-29/+15
svn path=/trunk/; revision=49923
2013-01-31Use '#if 0 ... #endif' rather than /** ... **/ to comment outBill Meier1-2/+2
unused hf[] entries (which I should have done in the first place). svn path=/trunk/; revision=47390
2013-01-26Comment out cases of unused hf array entries found by checkhf.Bill Meier1-1/+3
svn path=/trunk/; revision=47302
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-07-27Fix a few Clang warnings (dead increment, dead assignment)Pascal Quantin1-9/+0
svn path=/trunk/; revision=44082
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-15Remove unneeded includes (ctype.h, stdio.h);Bill Meier1-3/+3
In one case, define our own size for a string buffer (instead of using a magic constant 'BUFSIZ'); In a few cases: do some whitespace, indentation & reformatting cleanup. svn path=/trunk/; revision=42634
2012-04-09Add missing const attribute to some char *Jakub Zawadzki1-2/+2
Fix some "assignment discards qualifiers from pointer target type", etc svn path=/trunk/; revision=41993
2011-10-23Fix a few proto_tree_add_item() encoding args.Bill Meier1-2/+2
svn path=/trunk/; revision=39514
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-5/+5
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-16/+16
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-05-19Create subtree under the correct parent tree: Coverity 1138.Bill Meier1-2/+2
svn path=/trunk/; revision=37306
2011-01-16There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss1-2/+1
proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string() or tvb_get_const_stringz(). Use tvb_memeql() & tvb_memcmp(). svn path=/trunk/; revision=35558
2010-11-10Convert host name to UTF8 before displaying to info column or in tree.Chris Maynard1-4/+12
Fixes bug 1867. svn path=/trunk/; revision=34837
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-10/+10
svn path=/trunk/; revision=34227
2010-08-26Show a text string of the Windows version (if Windows 2000 or higher.)Stephen Fisher1-0/+41
svn path=/trunk/; revision=33936
2010-08-03Decode Browse Domain Announcement version and signature if signatureStig Bjørlykke1-1/+1
matches 0xaa55. I don't know the historic reason for decoding this as "Mysterious Field", but newer of Network Monitor (3.4) does show this as version and signature. svn path=/trunk/; revision=33696
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-2/+0
svn path=/trunk/; revision=32367
2009-11-17Remove the address operator from value_string arrays fed to VALS()Gerasimos Dimitriadis1-1/+1
svn path=/trunk/; revision=30995
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-13/+13
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2008-08-26#include <emem.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26091
2008-06-16From Michael Adam:Jaap Keuter1-0/+13
This patch adds knowledge of the DFS server type to the SMB-BROWSE dissector. svn path=/trunk/; revision=25460
2007-11-08Apply yet another set of the optimization patches:Anders Broman1-2/+2
-set_str2add_str_val_to_str svn path=/trunk/; revision=23406
2006-06-18include emem.hRonnie Sahlberg1-0/+1
svn path=/trunk/; revision=18507
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-17Move some headers for stuff defined by a dissector into epan/dissectorsGuy Harris1-1/+1
- and rename smb.h to packet-smb.h, as it's packet-smb.c's header file. svn path=/trunk/; revision=15845
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-08-10tvb_get_stringz() to tvb_get_ephemeral_stringz() conversion.Ronnie Sahlberg1-2/+1
svn path=/trunk/; revision=15275
2005-05-27The DESIRE_ and OS_ values are bit indices, not numerical values thatGuy Harris1-18/+1
appear by themselves; get rid of the value_string tables for them. svn path=/trunk/; revision=14450
2004-07-24In "dissect_smb_server_type_flags()":Guy Harris1-28/+31
explicitly pass NULL as the tree argument to "dissect_ndr_uint32()" - "tree", which was passed before, was definitely null at that point, and the intent is that it not put anything into the protocol tree; use the correct offset when putting items into the protocol tree (the offset has been advanced just past the end of the field at the time the items are being put into the protocol tree). svn path=/trunk/; revision=11506
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1166
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410