Some re-ordering.
FossilOrigin-Name: cda387d2c67f6f42c2ddb4eecfc3c22e416ed6b10f69e105c1147092081c63e1
This commit is contained in:
parent
32806ad92a
commit
cbf74ecb5e
@ -31,9 +31,18 @@
|
|||||||
#include "bstr.h"
|
#include "bstr.h"
|
||||||
#include "sock.h"
|
#include "sock.h"
|
||||||
|
|
||||||
|
/* Forward declaration */
|
||||||
struct mbag_item;
|
struct mbag_item;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The MBAG Type
|
||||||
|
*
|
||||||
|
* It's simply an #mavl AVL Tree.
|
||||||
|
*/
|
||||||
|
typedef mavl_t mbag_t;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Definition for MABG data types
|
* Definition for MABG data types
|
||||||
*/
|
*/
|
||||||
@ -91,14 +100,6 @@ struct mbag_item{
|
|||||||
|
|
||||||
typedef struct mbag_item mbag_item_t;
|
typedef struct mbag_item mbag_item_t;
|
||||||
|
|
||||||
/**
|
|
||||||
* The MBAG Type
|
|
||||||
*
|
|
||||||
* It's simply an #mavl AVL Tree.
|
|
||||||
*/
|
|
||||||
typedef mavl_t mbag_t;
|
|
||||||
|
|
||||||
|
|
||||||
extern const struct mbag_typedef mbag_type_byte;
|
extern const struct mbag_typedef mbag_type_byte;
|
||||||
extern const struct mbag_typedef mbag_type_word;
|
extern const struct mbag_typedef mbag_type_word;
|
||||||
extern const struct mbag_typedef mbag_type_dword;
|
extern const struct mbag_typedef mbag_type_dword;
|
||||||
@ -634,6 +635,12 @@ static inline int mbag_set_fun(mbag_t s, const char *id,
|
|||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int mbag_set_from_buf(mbag_t dst, mbagtype_t type, const char *item_id, uint8_t *data, int len);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete all objects in ab mbag.
|
* Delete all objects in ab mbag.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user