Some re-ordering.
FossilOrigin-Name: cda387d2c67f6f42c2ddb4eecfc3c22e416ed6b10f69e105c1147092081c63e1
This commit is contained in:
		@ -31,9 +31,18 @@
 | 
			
		||||
#include "bstr.h"
 | 
			
		||||
#include "sock.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* Forward declaration */
 | 
			
		||||
struct mbag_item;
 | 
			
		||||
 | 
			
		||||
/** 
 | 
			
		||||
 * The MBAG Type
 | 
			
		||||
 *
 | 
			
		||||
 * It's simply an #mavl AVL Tree.
 | 
			
		||||
 */ 
 | 
			
		||||
typedef mavl_t mbag_t;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/** 
 | 
			
		||||
 * Definition for MABG data types 
 | 
			
		||||
 */ 
 | 
			
		||||
@ -91,14 +100,6 @@ struct mbag_item{
 | 
			
		||||
 | 
			
		||||
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_word;
 | 
			
		||||
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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
 *
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user