bond/include/lib/salloc.h

16 lines
314 B
C
Raw Normal View History

2018-01-26 08:43:22 +00:00
#ifndef _LIB_SALLOC_H_
#define _LIB_SALLOC_H_
2018-01-26 08:43:22 +00:00
#include "type.h"
2017-02-01 03:26:08 +00:00
void KABI lb_salloc_init(void *base, uint32_t size);
2018-02-18 04:06:57 +00:00
void *KABI lb_salloc(void *base, uint32_t size);
2016-05-24 07:10:32 +00:00
2017-02-01 03:26:08 +00:00
void KABI lb_sfree(void *base, void *ptr);
2016-05-24 07:10:32 +00:00
2017-02-01 03:26:08 +00:00
bool KABI lb_salloc_assert(void *base, uint32_t *blk_size, bool *blk_free, uint32_t size);
#endif