fix: hdgnss调用mobile.reqCellInfo传错时间单位了
[LuatOS.git] / lua / include / bget.h
blobd2edccf73af255a5b6207e1a3cd769bf5676b8f0
1 /*
2 Interface definitions for bget.c, the memory management package.
3 */
5 typedef long bufsize;
6 void bpool(void *buffer, bufsize len);
7 void *bget(bufsize size);
8 void *bgetz(bufsize size);
9 void *bgetr(void *buffer, bufsize newsize);
10 void brel(void *buf);
11 void bectl(int (*compact)(bufsize sizereq, int sequence), void *(*acquire)(bufsize size), void (*release)(void *buf), bufsize pool_incr);
12 void bstats(bufsize *curalloc, bufsize *totfree, bufsize *maxfree, unsigned long *nget, unsigned long *nrel);
13 void bstatse(bufsize *pool_incr, long *npool, unsigned long *npget, unsigned long *nprel, unsigned long *ndget, unsigned long *ndrel);
14 void bufdump(void *buf);
15 void bpoold(void *pool, int dumpalloc, int dumpfree);
16 int bpoolv(void *pool);
17 bufsize bstatsmaxget(void);