~ubuntu-branches/ubuntu/saucy/totem-pl-parser/saucy-proposed

« back to all changes in this revision

Viewing changes to plparse/xmllexer.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-12-11 14:36:54 UTC
  • mfrom: (1.5.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091211143654-qw2v124b01bo8pid
Tags: 2.28.2-1
* New upstream bugfix release:
  + debian/patches/01_make-reentrant.patch:
    - Dropped, merged upstream.
  + Include gio/gio.h instead of relying on GTK+ to include
    it, which it doesn't in older versions (Closes: #558644).
  + debian/rules:
    - Update shlibs version for new API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef XML_LEXER_H
24
24
#define XML_LEXER_H
25
25
 
 
26
#ifndef XINE_DEPRECATED
 
27
#define XINE_DEPRECATED
 
28
#endif
 
29
 
26
30
#ifndef XINE_PROTECTED
27
31
#define XINE_PROTECTED
28
32
#endif
51
55
#define T_CDATA_STOP    19   /* ]]> */
52
56
 
53
57
 
 
58
/* public structure */
 
59
struct lexer
 
60
{
 
61
  const char * lexbuf;
 
62
  int lexbuf_size;
 
63
  int lexbuf_pos;
 
64
  int lex_mode;
 
65
  int in_comment;
 
66
  char *lex_malloc;
 
67
};
 
68
 
 
69
 
54
70
/* public functions */
55
 
void lexer_init(const char * buf, int size) XINE_PROTECTED;
56
 
int lexer_get_token(char * tok, int tok_size) XINE_PROTECTED;
 
71
void lexer_init(const char * buf, int size) XINE_DEPRECATED XINE_PROTECTED;
 
72
struct lexer *lexer_init_r(const char * buf, int size) XINE_PROTECTED;
 
73
void lexer_finalize_r(struct lexer * lexer) XINE_PROTECTED;
 
74
int lexer_get_token_d_r(struct lexer * lexer, char ** tok, int * tok_size, int fixed) XINE_PROTECTED;
 
75
int lexer_get_token_d(char ** tok, int * tok_size, int fixed) XINE_DEPRECATED XINE_PROTECTED;
 
76
int lexer_get_token(char * tok, int tok_size) XINE_DEPRECATED XINE_PROTECTED;
57
77
char *lexer_decode_entities (const char *tok) XINE_PROTECTED;
58
78
 
59
79
#endif