File: katedesc.h

package info (click to toggle)
libkate 0.4.1-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,516 kB
  • sloc: ansic: 10,960; sh: 10,344; yacc: 2,358; python: 767; lex: 363; makefile: 245
file content (47 lines) | stat: -rw-r--r-- 1,186 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Copyright (C) 2008 Vincent Penquerc'h.
   This file is part of the Kate codec library.
   Written by Vincent Penquerc'h.

   Use, distribution and reproduction of this library is governed
   by a BSD style source license included with this source in the
   file 'COPYING'. Please read these terms before distributing. */


#ifndef KATE_katedesc_h_GUARD
#define KATE_katedesc_h_GUARD

#include <ogg/ogg.h>

extern int katedesc_error(const char *string);
extern int yywarning(const char *string);

extern void set_macro_mode(void);
extern void unset_macro_mode(void);
extern void add_macro(const char *name,const char *body);
extern void free_macros(void);

extern int write_headers(FILE *f);
extern void update_stream_time(kate_state *k,FILE *fout,kate_int64_t endt);
extern int send_packet(FILE *f,ogg_packet *op,kate_int64_t t);
extern void cancel_packet(ogg_packet *op);

extern void cleanup_lexer(void);

extern int nlines;

extern char *katedesc_text;
extern FILE *katedesc_out;
union YYSTYPE;
extern int yylex(union YYSTYPE *lvalp);

extern int nerrors;
extern int nwarnings;

extern kate_state k;
extern kate_info ki;
extern kate_comment kc;

extern char base_path[];

#endif