From 9566027b0728684b3a6fbb76dacb03bda4a37bc7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 13 Jan 2011 13:53:06 +0100 Subject: m2ua: Implement to find a tag inside a message --- include/m2ua/m2ua_msg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m2ua/m2ua_msg.h b/include/m2ua/m2ua_msg.h index 49fe8cc..88eb8a1 100644 --- a/include/m2ua/m2ua_msg.h +++ b/include/m2ua/m2ua_msg.h @@ -48,6 +48,8 @@ void m2ua_msg_free(struct m2ua_msg *msg); int m2ua_msg_add_data(struct m2ua_msg *msg, uint16_t tag, uint16_t len, uint8_t *dat); +struct m2ua_msg_part *m2ua_msg_find_tag(struct m2ua_msg *msg, uint16_t tag); + struct m2ua_msg *m2ua_from_msg(uint16_t len, uint8_t *data); struct msgb *m2ua_to_msg(struct m2ua_msg *msg); -- cgit v1.2.3