bmt_malloc.h (282B)
1 #ifndef _LIBSWARM_BMT_MALLOC 2 #define _LIBSWARM_BMT_MALLOC 3 4 #include "swarm.h" 5 6 typedef struct bmt { 7 unsigned char *buf; 8 unsigned char *w_ptr; 9 unsigned char *r_ptr; 10 unsigned char *target; 11 } bmt_t; 12 13 #include "bmt_interface.h" 14 void bmt_free(bmt_t *bctx); 15 16 #endif // _LIBSWARM_BMT