File: simplebuffer.h

package info (click to toggle)
getstream 20100616-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 492 kB
  • sloc: ansic: 5,057; makefile: 39; sh: 13
file content (10 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10

void *sb_init(int atoms, int atomsize, int headroom);
void sb_free(void *sbv);
int sb_used_atoms(void *sbv);
int sb_free_atoms(void *sbv);
int sb_add_atoms(void *sbv, uint8_t *atom, int atoms);
void sb_zap(void *sbv);
void sb_drop_atoms(void *sbv, int atoms);
uint8_t *sb_bufptr(void *sbv);
int sb_buflen(void *sbv);