aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbparse.h
diff options
context:
space:
mode:
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2005-09-27 22:57:07 +0000
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>2005-09-27 22:57:07 +0000
commit5b971ec13b7f0282b9aa81556ba74ab3adb37d02 (patch)
tree33e7065921742050155007675dedfc37be93a8be /epan/tvbparse.h
parentc395527ea08bce4f48502456437c7ad2021ae138 (diff)
in tvbparse:
- tvbparse_some now handles 0 items. - added accessors for a tt's offset and remaining length. in packet-xml: - min_len=0 for tvbparse_chars() is soon going to mean zero instead of 1 change the 0s to 1s. - attribute names can have ':' even if it's namespaces isn't managed yet. - split the xml grammar in more elements so It can be actually read by a human being. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16031 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/tvbparse.h')
-rw-r--r--epan/tvbparse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/tvbparse.h b/epan/tvbparse.h
index b2e982f17b..78a300740d 100644
--- a/epan/tvbparse.h
+++ b/epan/tvbparse.h
@@ -294,9 +294,6 @@ void tvbparse_shrink_token_cb(void* tvbparse_data,
-
-
-
/* initialize the parser (at every packet)
* tvb: what are we parsing?
* offset: from where
@@ -313,6 +310,9 @@ tvbparse_t* tvbparse_init(tvbuff_t* tvb,
/* reset the parser */
gboolean tvbparse_reset(tvbparse_t* tt, int offset, int len);
+guint tvbparse_curr_offset(tvbparse_t* tt);
+guint tvbparse_len_left(tvbparse_t* tt);
+
/*
* This ill look for the wanted token at the current offset or after any given
* number of ignored tokens returning NULL if there's no match.