diff options
Diffstat (limited to 'include/ogg')
-rw-r--r-- | include/ogg/ogg.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/ogg/ogg.h b/include/ogg/ogg.h index e8bb9bf..b17113a 100644 --- a/include/ogg/ogg.h +++ b/include/ogg/ogg.h @@ -5,13 +5,13 @@ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * - * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 * * by the Xiph.Org Foundation http://www.xiph.org/ * * * ******************************************************************** function: toplevel libogg include - last mod: $Id: ogg.h,v 1.19 2002/09/15 23:48:02 xiphmont Exp $ + last mod: $Id$ ********************************************************************/ #ifndef _OGG_H @@ -24,6 +24,11 @@ extern "C" { #include <ogg/os_types.h> typedef struct { + void *iov_base; + size_t iov_len; +} ogg_iovec_t; + +typedef struct { long endbyte; int endbit; @@ -148,6 +153,8 @@ extern unsigned char *oggpackB_get_buffer(oggpack_buffer *b); /* Ogg BITSTREAM PRIMITIVES: encoding **************************/ extern int ogg_stream_packetin(ogg_stream_state *os, ogg_packet *op); +extern int ogg_stream_iovecin(ogg_stream_state *os, ogg_iovec_t *iov, + int count, long e_o_s, ogg_int64_t granulepos); extern int ogg_stream_pageout(ogg_stream_state *os, ogg_page *og); extern int ogg_stream_flush(ogg_stream_state *os, ogg_page *og); |