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

« back to all changes in this revision

Viewing changes to plparse/xmlparser.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:
22
22
#ifndef XML_PARSER_H
23
23
#define XML_PARSER_H
24
24
 
 
25
#ifndef XINE_DEPRECATED
 
26
#define XINE_DEPRECATED
 
27
#endif
 
28
 
25
29
#ifndef XINE_PROTECTED
26
30
#define XINE_PROTECTED
27
31
#endif
65
69
        struct xml_node_s *next;
66
70
} xml_node_t;
67
71
 
68
 
void xml_parser_init(const char * buf, int size, int mode) XINE_PROTECTED;
69
 
 
70
 
int xml_parser_build_tree(xml_node_t **root_node) XINE_PROTECTED;
71
 
int xml_parser_build_tree_with_options(xml_node_t **root_node, int flags) XINE_PROTECTED;
 
72
/* xml parser */
 
73
typedef struct xml_parser_s {
 
74
        struct lexer *lexer;
 
75
        int mode;
 
76
} xml_parser_t;
 
77
 
 
78
void xml_parser_init(const char * buf, int size, int mode) XINE_DEPRECATED XINE_PROTECTED;
 
79
xml_parser_t *xml_parser_init_r(const char * buf, int size, int mode) XINE_PROTECTED;
 
80
void xml_parser_finalize_r(xml_parser_t *xml_parser) XINE_PROTECTED;
 
81
 
 
82
int xml_parser_build_tree(xml_node_t **root_node) XINE_DEPRECATED XINE_PROTECTED;
 
83
int xml_parser_build_tree_r(xml_parser_t *xml_parser, xml_node_t **root_node) XINE_PROTECTED;
 
84
 
 
85
int xml_parser_build_tree_with_options(xml_node_t **root_node, int flags) XINE_DEPRECATED XINE_PROTECTED;
 
86
int xml_parser_build_tree_with_options_r(xml_parser_t *xml_parser, xml_node_t **root_node, int flags) XINE_PROTECTED;
72
87
 
73
88
void xml_parser_free_tree(xml_node_t *root_node) XINE_PROTECTED;
74
89
 
75
90
const char *xml_parser_get_property (const xml_node_t *node, const char *name) XINE_PROTECTED;
76
 
int   xml_parser_get_property_int (const xml_node_t *node, const char *name, 
 
91
int   xml_parser_get_property_int (const xml_node_t *node, const char *name,
77
92
                                   int def_value) XINE_PROTECTED;
78
 
int xml_parser_get_property_bool (const xml_node_t *node, const char *name, 
 
93
int xml_parser_get_property_bool (const xml_node_t *node, const char *name,
79
94
                                  int def_value) XINE_PROTECTED;
80
95
 
81
96
/* for output: