/home/lyrian/OggVorbis/kate/include/kate/oggkate.h

Go to the documentation of this file.
00001 /* Copyright (C) 2008 Vincent Penquerc'h.
00002    This file is part of the Kate codec library.
00003    Written by Vincent Penquerc'h.
00004 
00005    Use, distribution and reproduction of this library is governed
00006    by a BSD style source license included with this source in the
00007    file 'COPYING'. Please read these terms before distributing. */
00008 
00009 
00010 #ifndef _KATE_OGGKATE_H_
00011 #define _KATE_OGGKATE_H_
00012 
00017 #include <stddef.h>
00018 #include <stdint.h>
00019 #include <ogg/ogg.h>
00020 #include "kate/kate.h"
00021 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00027 extern int kate_ogg_encode_headers(kate_state *k,kate_comment *kc,ogg_packet *op);
00028 extern int kate_ogg_encode_text(kate_state *k,kate_float start_time,kate_float stop_time,const char *text,size_t sz,ogg_packet *op); /* text is not null terminated */
00029 extern int kate_ogg_encode_keepalive(kate_state *k,kate_float t,ogg_packet *op);
00030 extern int kate_ogg_encode_finish(kate_state *k,kate_float t,ogg_packet *op); /* t may be negative to use the end granule of the last event */
00031 
00033 extern int kate_ogg_decode_is_idheader(const ogg_packet *op);
00034 extern int kate_ogg_decode_headerin(kate_info *ki,kate_comment *kc,ogg_packet *op);
00035 extern int kate_ogg_decode_packetin(kate_state *k,ogg_packet *op);
00036 
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040 
00041 #endif
00042 

Generated on Sat Sep 20 16:32:01 2008 for libkate by  doxygen 1.5.4