get method added.

FossilOrigin-Name: 895cd66dbd6619c34731851f085ba708510849cb4977bc04e689237935fc3374
This commit is contained in:
7u83@mail.ru 2016-03-28 14:45:54 +00:00
parent 3769539bd8
commit 44b5f8561b
1 changed files with 3 additions and 0 deletions

View File

@ -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);