megabuf.h 340 B

123456789101112131415161718192021
  1. #ifndef _MEGABUF_H_
  2. #define _MEGABUF_H_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define MEGABUF_BLOCKS 64
  7. #define MEGABUF_ITEMSPERBLOCK 16384
  8. void _asm_megabuf(void);
  9. void _asm_megabuf_end(void);
  10. void megabuf_ppproc(void *data, int data_size, void **userfunc_data);
  11. void megabuf_cleanup(NSEEL_VMCTX);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif