33#ifndef OGGZ_WRITE_HEADER
34#define OGGZ_WRITE_HEADER
int(* OggzWriteHungry)(OGGZ *oggz, int empty, void *user_data)
This is the signature of a callback which Oggz will call when oggz is hungry .
Definition: oggz_write.h:123
long oggz_write(OGGZ *oggz, long n)
Write n bytes from an OGGZ handle.
long oggz_write_output(OGGZ *oggz, unsigned char *buf, long n)
Output data from an OGGZ handle.
int oggz_write_feed(OGGZ *oggz, ogg_packet *op, long serialno, int flush, int *guard)
Add a packet to oggz's packet queue.
long oggz_write_get_next_page_size(OGGZ *oggz)
Query the number of bytes in the next page to be written.
int oggz_write_set_hungry_callback(OGGZ *oggz, OggzWriteHungry hungry, int only_when_empty, void *user_data)
Set a callback for Oggz to call when oggz is hungry .
void OGGZ
An opaque handle to an Ogg file.
Definition: oggz.h:441