91 #define FP_VERSION 20170302 105 #define FP_MAX_FRAGMENT_SIZE INT16_MAX 165 #define FP_POOL_STRUCT_COMMON \ 166 uint8_t* pool_start; \ 168 uint8_t pool_alignment; \ 169 uint8_t fragment_count 256 uint8_t** fragment_endp);
298 uint8_t** fragment_endp);
340 uint8_t** fragment_endp);
uint8_t * pool_end
Definition: fragpool.h:184
uint16_t fp_size_t
Definition: fragpool.h:97
uint8_t fragment_count
Definition: fragpool.h:193
uint8_t * fp_request(fp_pool_t pool, fp_size_t min_size, fp_size_t max_size, uint8_t **fragment_endp)
#define FP_POOL_STRUCT_COMMON
Definition: fragpool.h:165
uint8_t * start
Definition: fragpool.h:125
struct fp_fragment_t * fp_fragment_t
uint8_t * fp_reallocate(fp_pool_t pool, uint8_t *bp, fp_size_t min_size, fp_size_t max_size, uint8_t **fragment_endp)
void fp_reset(fp_pool_t pool)
int fp_validate(const fp_pool_t pool)
Definition: fragpool.h:178
struct fp_pool_t * fp_pool_t
int16_t fp_ssize_t
Definition: fragpool.h:101
uint8_t * pool_start
Definition: fragpool.h:180
uint8_t * fp_resize(fp_pool_t pool, uint8_t *bp, fp_size_t new_size, uint8_t **fragment_endp)
Definition: fragpool.h:203
uint8_t pool_alignment
Definition: fragpool.h:190
Definition: fragpool.h:122
int fp_release(fp_pool_t pool, const uint8_t *bp)
fp_ssize_t length
Definition: fragpool.h:130