aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-pcre.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-08-22 00:31:58 +0000
committerGuy Harris <guy@alum.mit.edu>2004-08-22 00:31:58 +0000
commitc68f62210fc20890502cb84dbc2ea4321de5b791 (patch)
treed7311a179eacd5a137e9e874b3bf2d0e15377de6 /epan/ftypes/ftype-pcre.c
parent9dcb077e460619b8ab54810e4fef850a0799bcde (diff)
Add "tvb_get_ntoh64()" and "tvb_get_letoh64()" routines to fetch 64-bit
integers. Make FT_INT64 and FT_UINT64 add numerical values, rather than byte-array values, to the protocol tree, and add routines to add specified 64-bit integer values to the protocol tree. Use those routines in the RSVP dissector. svn path=/trunk/; revision=11796
Diffstat (limited to 'epan/ftypes/ftype-pcre.c')
-rwxr-xr-xepan/ftypes/ftype-pcre.c54
1 files changed, 29 insertions, 25 deletions
diff --git a/epan/ftypes/ftype-pcre.c b/epan/ftypes/ftype-pcre.c
index dea1f04ec5..fa0e6258f5 100755
--- a/epan/ftypes/ftype-pcre.c
+++ b/epan/ftypes/ftype-pcre.c
@@ -160,36 +160,38 @@ void
ftype_register_pcre(void)
{
static ftype_t pcre_type = {
- "FT_PCRE",
- "Compiled Perl-Compatible Regular Expression object",
- 0, /* wire_size */
+ "FT_PCRE", /* name */
+ "Compiled Perl-Compatible Regular Expression object", /* pretty_name */
+ 0, /* wire_size */
pcre_fvalue_new, /* new_value */
pcre_fvalue_free, /* free_value */
val_from_unparsed, /* val_from_unparsed */
val_from_string, /* val_from_string */
- NULL, /* val_to_string_repr */
- NULL, /* len_string_repr */
+ NULL, /* val_to_string_repr */
+ NULL, /* len_string_repr */
pcre_fvalue_set, /* set_value */
- NULL, /* set_value_integer */
- NULL, /* set_value_floating */
+ NULL, /* set_value_integer */
+ NULL, /* set_value_integer64 */
+ NULL, /* set_value_floating */
pcre_fvalue_get, /* get_value */
- NULL, /* get_value_integer */
- NULL, /* get_value_floating */
-
- NULL, /* cmp_eq */
- NULL, /* cmp_ne */
- NULL, /* cmp_gt */
- NULL, /* cmp_ge */
- NULL, /* cmp_lt */
- NULL, /* cmp_le */
- NULL, /* cmp_bitwise_and */
- NULL, /* cmp_contains */
- NULL, /* cmp_matches */
-
- NULL, /* len */
- NULL, /* slice */
+ NULL, /* get_value_integer */
+ NULL, /* get_value_integer64 */
+ NULL, /* get_value_floating */
+
+ NULL, /* cmp_eq */
+ NULL, /* cmp_ne */
+ NULL, /* cmp_gt */
+ NULL, /* cmp_ge */
+ NULL, /* cmp_lt */
+ NULL, /* cmp_le */
+ NULL, /* cmp_bitwise_and */
+ NULL, /* cmp_contains */
+ NULL, /* cmp_matches */
+
+ NULL, /* len */
+ NULL, /* slice */
};
ftype_register(FT_PCRE, &pcre_type);
}
@@ -200,9 +202,9 @@ void
ftype_register_pcre(void)
{
static ftype_t pcre_type = {
- "FT_PCRE",
- "Compiled Perl-Compatible Regular Expression object",
- 0, /* wire_size */
+ "FT_PCRE", /* name */
+ "Compiled Perl-Compatible Regular Expression object", /* pretty_name */
+ 0, /* wire_size */
NULL, /* new_value */
NULL, /* free_value */
NULL, /* val_from_unparsed */
@@ -212,10 +214,12 @@ ftype_register_pcre(void)
NULL, /* set_value */
NULL, /* set_value_integer */
+ NULL, /* set_value_integer64 */
NULL, /* set_value_floating */
NULL, /* get_value */
NULL, /* get_value_integer */
+ NULL, /* get_value_integer64 */
NULL, /* get_value_floating */
NULL, /* cmp_eq */