Writing
Further, the mechanisms provided by liboggz for ensuring general structure conformance may be useful for implementing additional structuring rules for specific needs.
- When writing, you can ensure that a packet starts on a new page by setting the flush parameter of oggz_write_feed() to OGGZ_FLUSH_BEFORE when enqueuing it. Similarly you can ensure that the last page a packet is written into won't contain any following packets by setting the flush parameter of oggz_write_feed() to OGGZ_FLUSH_AFTER.
- The OGGZ_FLUSH_BEFORE and OGGZ_FLUSH_AFTER flags can be bitwise OR'd together to ensure that the packet will not share any pages with any other packets, either before or after.
Generated on Tue Dec 2 19:01:12 2003 for liboggz by
1.3.4