diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-06-24 21:50:05 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-06-24 21:50:05 +0000 |
commit | 5ff14ed675233c68766dbcf0f9a96704a58d9914 (patch) | |
tree | 0156d2634415e244b0faec3f954d9d9082c0ed11 /epan/ftypes | |
parent | cbdb564ab4ed75de1d00c18c3b805fe6879721c8 (diff) |
from tomas k
updates to the asn2eth compiler and a new regenerated h235 dissector
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11231 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/ftypes')
-rw-r--r-- | epan/ftypes/ftypes.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/ftypes/ftypes.h b/epan/ftypes/ftypes.h index 01ba4e20f2..90cb5020c7 100644 --- a/epan/ftypes/ftypes.h +++ b/epan/ftypes/ftypes.h @@ -1,7 +1,7 @@ /* ftypes.h * Definitions for field types * - * $Id: ftypes.h,v 1.32 2004/05/09 10:03:40 guy Exp $ + * $Id: ftypes.h,v 1.33 2004/06/24 21:50:05 sahlberg Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -63,6 +63,11 @@ enum ftenum { FT_NUM_TYPES /* last item number plus one */ }; +#define IS_FT_INT(ft) ((ft)==FT_INT8||(ft)==FT_INT16||(ft)==FT_INT24||(ft)==FT_INT32) +#define IS_FT_UINT(ft) ((ft)==FT_UINT8||(ft)==FT_UINT16||(ft)==FT_UINT24||(ft)==FT_UINT32||(ft)==FT_FRAMENUM) +#define IS_FT_TIME(ft) ((ft)==FT_ABSOLUTE_TIME||(ft)==FT_RELATIVE_TIME) +#define IS_FT_STRING(ft) ((ft)==FT_STRING||(ft)==FT_STRINGZ) + typedef enum ftenum ftenum_t; typedef struct _ftype_t ftype_t; |