33 #ifndef __OGGZ_WRITE_H__
34 #define __OGGZ_WRITE_H__
long oggz_write_output(OGGZ *oggz, unsigned char *buf, long n)
Output data from an OGGZ handle.
long oggz_write(OGGZ *oggz, long n)
Write n bytes from an OGGZ handle.
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
void OGGZ
An opaque handle to an Ogg file.
Definition: oggz.h:441
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 .
long oggz_write_get_next_page_size(OGGZ *oggz)
Query the number of bytes in the next page to be written.
int oggz_write_feed(OGGZ *oggz, ogg_packet *op, long serialno, int flush, int *guard)
Add a packet to oggz's packet queue.