liboggz  1.1.1
Functions
oggz_stream.h File Reference

Interfaces for querying Ogg streams. More...

Go to the source code of this file.

Functions

OggzStreamContent oggz_stream_get_content (OGGZ *oggz, long serialno)
 Determine the content type of the oggz stream referred to by serialno. More...
 
const char * oggz_stream_get_content_type (OGGZ *oggz, long serialno)
 Return human-readable string representation of content type of oggz stream referred to by serialno. More...
 
int oggz_stream_get_numheaders (OGGZ *oggz, long serialno)
 Determine the number of headers of the oggz stream referred to by serialno. More...
 

Detailed Description

Interfaces for querying Ogg streams.

Function Documentation

OggzStreamContent oggz_stream_get_content ( OGGZ oggz,
long  serialno 
)

Determine the content type of the oggz stream referred to by serialno.

Parameters
oggzAn OGGZ handle
serialnoAn ogg stream serialno
Return values
OGGZ_CONTENT_THEORA..OGGZ_CONTENT_UNKNOWNcontent successfully identified
OGGZ_ERR_BAD_OGGZoggz does not refer to an existing OGGZ
OGGZ_ERR_BAD_SERIALNOserialno does not refer to an existing stream
const char* oggz_stream_get_content_type ( OGGZ oggz,
long  serialno 
)

Return human-readable string representation of content type of oggz stream referred to by serialno.

Parameters
oggzAn OGGZ handle
serialnoAn ogg stream serialno
Return values
stringthe name of the content type
NULLoggz or serialno invalid
int oggz_stream_get_numheaders ( OGGZ oggz,
long  serialno 
)

Determine the number of headers of the oggz stream referred to by serialno.

Parameters
oggzAn OGGZ handle
serialnoAn ogg stream serialno
Return values
OGGZ_CONTENT_THEORA..OGGZ_CONTENT_UNKNOWNcontent successfully identified
OGGZ_ERR_BAD_OGGZoggz does not refer to an existing OGGZ
OGGZ_ERR_BAD_SERIALNOserialno does not refer to an existing stream