From 44b5f8561b00b289c2547a39f6e5b184f5669c50 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Mon, 28 Mar 2016 14:45:54 +0000 Subject: [PATCH] get method added. FossilOrigin-Name: 895cd66dbd6619c34731851f085ba708510849cb4977bc04e689237935fc3374 --- src/cw/mbag.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cw/mbag.h b/src/cw/mbag.h index 085edf67..01be7018 100644 --- a/src/cw/mbag.h +++ b/src/cw/mbag.h @@ -58,6 +58,9 @@ struct mbag_typedef{ /** Cereate an item of this type from a string, which was previously created by the #del function. */ struct mbag_item * (*from_str)(const char *src); + + struct mbag_item * (*get)(const uint8_t*src, int len); + /** A method to put this object to a buffer */ int (*put)(void *,uint8_t*dst);