diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-11-03 10:16:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-11-03 10:16:00 +0000 |
commit | 12e868832664695b83f649835f1286151a8728d7 (patch) | |
tree | 75869d3727932e6894dfbffb7432aa804256dd44 /packet-wsp.h | |
parent | fe76df1f83aa53c393ee4d85c42623d5ac8ebd42 (diff) | |
download | wireshark-12e868832664695b83f649835f1286151a8728d7.tar.gz wireshark-12e868832664695b83f649835f1286151a8728d7.tar.bz2 wireshark-12e868832664695b83f649835f1286151a8728d7.zip |
From Olivier Biot:
* Use function reference arrays for header parse function lookup
(avoids switch())
* Use macros for the common parts of the header parse functions
* Use macros for identical header dissection functions
* Implement many missing header parse functions
* Automatic header parse error notification
* Some minor edits
* Add HTTP equivalents to WSP status codes
svn path=/trunk/; revision=8865
Diffstat (limited to 'packet-wsp.h')
-rw-r--r-- | packet-wsp.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/packet-wsp.h b/packet-wsp.h index 503558b29a..6dec9be087 100644 --- a/packet-wsp.h +++ b/packet-wsp.h @@ -2,7 +2,7 @@ * * Declarations for disassembly of WSP component of WAP traffic. * - * $Id: packet-wsp.h,v 1.8 2003/09/02 22:47:58 guy Exp $ + * $Id: packet-wsp.h,v 1.9 2003/11/03 10:16:00 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -30,16 +30,6 @@ #ifndef __PACKET_WSP_H__ #define __PACKET_WSP_H__ -/* Implementation Status: - * - * Most PDUs decoded. - * Some headers decoded. - * - * TODO: - * Capability encoding - * Remaining headers (perhaps a place holder for those yet to be implemented) - * Remaining PDUs - */ /* These reason codes are used in the WTP dissector as the WTP user is * assumed to be WSP */ @@ -53,7 +43,9 @@ extern const value_string vals_status[]; * exported functionality */ void add_post_data (proto_tree *, tvbuff_t *, guint, const char *); -guint add_content_type (proto_tree *, tvbuff_t *, guint, guint *, const char **); +guint32 add_content_type (proto_tree *tree, tvbuff_t *tvb, + guint32 val_start, + guint32 *well_known_content, const char **textual_content); /* statistics */ typedef struct _wsp_info_value_t /* see README.tapping and tap-wspstat.c */ |