| 1 |
/* Copyright (C) 2008 Vincent Penquerc'h. |
| 2 |
This file is part of the Kate codec library. |
| 3 |
Written by Vincent Penquerc'h. |
| 4 |
|
| 5 |
Use, distribution and reproduction of this library is governed |
| 6 |
by a BSD style source license included with this source in the |
| 7 |
file 'COPYING'. Please read these terms before distributing. */ |
| 8 |
|
| 9 |
|
| 10 |
#ifndef KATE_katedesc_h_GUARD |
| 11 |
#define KATE_katedesc_h_GUARD |
| 12 |
|
| 13 |
#include <ogg/ogg.h> |
| 14 |
|
| 15 |
extern int katedesc_error(const char *string); |
| 16 |
extern int yywarning(const char *string); |
| 17 |
|
| 18 |
extern void set_macro_mode(void); |
| 19 |
extern void unset_macro_mode(void); |
| 20 |
extern void add_macro(const char *name,const char *body); |
| 21 |
extern void free_macros(void); |
| 22 |
|
| 23 |
extern int write_headers(FILE *f); |
| 24 |
extern void update_stream_time(kate_state *k,FILE *fout,kate_int64_t endt); |
| 25 |
extern int send_packet(FILE *f,ogg_packet *op,kate_int64_t t); |
| 26 |
extern void cancel_packet(ogg_packet *op); |
| 27 |
|
| 28 |
extern void cleanup_lexer(void); |
| 29 |
|
| 30 |
extern int nlines; |
| 31 |
|
| 32 |
extern char *katedesc_text; |
| 33 |
extern FILE *katedesc_out; |
| 34 |
union YYSTYPE; |
| 35 |
extern int yylex(union YYSTYPE *lvalp); |
| 36 |
|
| 37 |
extern int nerrors; |
| 38 |
extern int nwarnings; |
| 39 |
|
| 40 |
extern kate_state k; |
| 41 |
extern kate_info ki; |
| 42 |
extern kate_comment kc; |
| 43 |
|
| 44 |
extern char base_path[]; |
| 45 |
|
| 46 |
#endif |
| 47 |
|