ac descriptor, struct reader

FossilOrigin-Name: 3b8718025cc9d01c66afddbc09fda047e4c78427fe342d8a800ba066eae62270
This commit is contained in:
7u83@mail.ru
2018-03-25 06:34:32 +00:00
parent 54e852c6a1
commit c1f1d91b28
22 changed files with 176 additions and 145 deletions

View File

@ -1,6 +1,15 @@
#include "ktv.h"
#include "mavl.h"
/**
* @brief Get a ktv value from a ktv store
* @param ktv ktv store
* @param key key to search for
* @param type type to match
* @return A pointer to a #cw_KTV_t element, found in the ktv store or
* NULL if no element with matching key/type is found.
*/
cw_KTV_t * cw_ktv_get(mavl_t ktv, const char *key, const cw_Type_t * type)
{
cw_KTV_t search, *result;