summaryrefslogtreecommitdiffstats
path: root/src/simutil.h
diff options
context:
space:
mode:
authorYang Gu <yang.gu@intel.com>2010-05-13 18:48:19 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-05-13 11:02:52 -0500
commit353d955dead6ad280c6a42d1886e3492e345a07c (patch)
treec7ddd5359b27b7d37e732ef5667463a9c93a0907 /src/simutil.h
parent651ad72075fe61521db6581cdf7b76def63b7582 (diff)
downloadofono-353d955dead6ad280c6a42d1886e3492e345a07c.tar.bz2
simutil: Add comprehension tlv copy
Can be used to save the state of the current iterator and 'peek' ahead.
Diffstat (limited to 'src/simutil.h')
-rw-r--r--src/simutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simutil.h b/src/simutil.h
index 7590cca4..45b68474 100644
--- a/src/simutil.h
+++ b/src/simutil.h
@@ -132,6 +132,9 @@ unsigned int comprehension_tlv_iter_get_length(
const unsigned char *comprehension_tlv_iter_get_data(
struct comprehension_tlv_iter *iter);
+void comprehension_tlv_iter_copy(struct comprehension_tlv_iter *from,
+ struct comprehension_tlv_iter *to);
+
void ber_tlv_iter_init(struct ber_tlv_iter *iter, const unsigned char *pdu,
unsigned int len);
/*