aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-none.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2003-02-08 04:22:37 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2003-02-08 04:22:37 +0000
commit9615c4ef25937edc242ff81a9ee7ec7a35aa7698 (patch)
treef03877f03d3e572f98e4e87d046f3a9017c00742 /epan/ftypes/ftype-none.c
parent086e99dff9584dc837b1bb1be8611468bc05d324 (diff)
Provide a way for ftype modules to provide a string representation
of their value. Provide such a method for FT_BYTES, FT_UINT_BYTES, and FT_ETHER. Have proto_alloc_dfilter_string() use the new methods. This is part of a movement of ftype-related code out of proto.c and into the ftype code. The immediate effect is that generated display filters for long byte sequences don't incorrectly have trailing periods ("...") to indicate continuation. svn path=/trunk/; revision=7100
Diffstat (limited to 'epan/ftypes/ftype-none.c')
-rw-r--r--epan/ftypes/ftype-none.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/ftypes/ftype-none.c b/epan/ftypes/ftype-none.c
index c3101bb177..864c8a6b9a 100644
--- a/epan/ftypes/ftype-none.c
+++ b/epan/ftypes/ftype-none.c
@@ -1,5 +1,5 @@
/*
- * $Id: ftype-none.c,v 1.4 2002/08/28 20:41:00 jmayer Exp $
+ * $Id: ftype-none.c,v 1.5 2003/02/08 04:22:37 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -39,6 +39,8 @@ ftype_register_none(void)
NULL,
NULL,
NULL,
+ NULL, /* val_to_string_repr */
+ NULL, /* len_string_repr */
NULL,
NULL,