diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-08-14 17:24:21 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-08-14 17:24:21 +0000 |
commit | 90cb202dbd4a40861d812f60760586ff64f28bab (patch) | |
tree | f2683d1b9210e369111cbf68a348feb2320ff759 /epan/proto.h | |
parent | 026f4dfa7be71f00851ebcff47c5e04127083eb3 (diff) |
Added proto_item_prepend_text().
svn path=/trunk/; revision=33800
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h index 4cae10caf7..bdbb7f4fea 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -519,6 +519,13 @@ extern void proto_item_set_text(proto_item *ti, const char *format, ...) extern void proto_item_append_text(proto_item *ti, const char *format, ...) G_GNUC_PRINTF(2,3); +/** Prepend to text of item after it has already been created. + @param ti the item to prepend the text to + @param format printf like format string + @param ... printf like parameters */ +extern void proto_item_prepend_text(proto_item *ti, const char *format, ...) + G_GNUC_PRINTF(2,3); + /** Set proto_item's length inside tvb, after it has already been created. @param ti the item to set the length @param length the new length ot the item */ |