diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2006-05-02 14:26:17 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2006-05-02 14:26:17 +0000 |
commit | e3899ed4a43f006d51724d1fa05be20050968bd1 (patch) | |
tree | 3b6937dd3cfc7e7374855f1142c0bfcea1b1c49f /epan/ftypes/ftypes.h | |
parent | 7edd136c889356810028c6fb291d8db69298beab (diff) |
Add infrastructure for display filter functions.
Add upper() and lower() display filter functions for string fields.
svn path=/trunk/; revision=18071
Diffstat (limited to 'epan/ftypes/ftypes.h')
-rw-r--r-- | epan/ftypes/ftypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/ftypes/ftypes.h b/epan/ftypes/ftypes.h index 6a30a4b7b5..a21feb5291 100644 --- a/epan/ftypes/ftypes.h +++ b/epan/ftypes/ftypes.h @@ -196,6 +196,7 @@ typedef guint (*FvalueLen)(fvalue_t*); typedef void (*FvalueSlice)(fvalue_t*, GByteArray *, guint offset, guint length); struct _ftype_t { + ftenum_t ftype; const char *name; const char *pretty_name; int wire_size; @@ -288,6 +289,9 @@ fvalue_string_repr_len(fvalue_t *fv, ftrepr_t rtype); extern char * fvalue_to_string_repr(fvalue_t *fv, ftrepr_t rtype, char *buf); +ftype_t* +fvalue_ftype(fvalue_t *fv); + const char* fvalue_type_name(fvalue_t *fv); |