Commit Graph

9 Commits

Author SHA1 Message Date
Jörg Mayer 4c19ac79de Trivial warning fixes
svn path=/trunk/; revision=15452
2005-08-20 02:03:40 +00:00
Luis Ontanon b197548513 Keep information about the call-leg so that all the messages of a leg can be filtered given a parameter of it.
Create the header to export the structures thyat hold that info.


svn path=/trunk/; revision=15430
2005-08-19 11:53:39 +00:00
Jörg Mayer b8d33c4add Fix >2600 warnings by doing char -> const char changes.
Additionally in dissectors/packet-ansi_map.c:
        Flag unused parameters as such and remove dummy
        param = param;
        statements.

svn path=/trunk/; revision=15114
2005-07-27 07:57:01 +00:00
Luis Ontanon b8a874be21 use ep_alloc instead of statically allocated buffers
svn path=/trunk/; revision=15030
2005-07-24 02:59:17 +00:00
Guy Harris ab797734dd Get rid of the private "my_match_strval()" routine in many dissectors;
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.

Make those routines, and "val_to_str()", return a "const" pointer. 
Update dissectors as necessary to squelch compiler warnings produced by
that.

Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string.  Clean up some other
"match_strval()"/"val_to_str()" usages.

Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.

Make some global variables in the AFS4INT dissector local.

Make some routines not used outside the module they're in static.

Make some tables "static const".

Clean up white space.

Fix Gerald's address in some files.

svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
Ulf Lamping 5b9f563924 packet-alcap.c(195) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14767
2005-06-26 10:41:38 +00:00
Luis Ontanon 31f25f6a2e make sure that colifo gets set and put some other useful info there
svn path=/trunk/; revision=14582
2005-06-07 23:22:37 +00:00
Luis Ontanon fa91e9559d register the dissector so that it can be found
svn path=/trunk/; revision=14569
2005-06-06 18:53:43 +00:00
Gilbert Ramirez 669db206cb Move dissectors to epan/dissectors directory.
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
2004-07-18 18:06:47 +00:00