From e3899ed4a43f006d51724d1fa05be20050968bd1 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Tue, 2 May 2006 14:26:17 +0000 Subject: Add infrastructure for display filter functions. Add upper() and lower() display filter functions for string fields. svn path=/trunk/; revision=18071 --- epan/ftypes/ftypes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'epan/ftypes/ftypes.h') 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); -- cgit v1.2.3