3 * sushivision copyright (C) 2006-2007 Monty <monty@xiph.org>
5 * sushivision is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
10 * sushivision is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with sushivision; see the file COPYING. If not, write to the
17 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 extern xmlNodePtr
_xmlGetChildS(xmlNodePtr n
, char *name
,char *prop
, char *val
);
23 extern xmlNodePtr
_xmlGetChildI(xmlNodePtr n
, char *name
,char *prop
, int val
);
24 extern void _xmlNewMapProp(xmlNodePtr n
, char *name
, _sv_propmap_t
**map
, int val
);
25 extern void _xmlNewPropF(xmlNodePtr n
, char *name
, double val
);
26 extern void _xmlNewPropI(xmlNodePtr n
, char *name
, int val
);
27 extern void _xmlNewPropS(xmlNodePtr n
, char *name
, char *val
);
29 extern void _xmlCheckPropS(xmlNodePtr n
, char *prop
, char *val
, char *msg
, int num
, int *warn
);
30 extern void _xmlCheckMap(xmlNodePtr n
, char *prop
, _sv_propmap_t
**map
, int val
, char *msg
, int num
, int *warn
);
32 extern void _xmlGetPropS(xmlNodePtr n
, char *name
, char **out
);
33 extern void _xmlGetPropF(xmlNodePtr n
, char *name
, double *out
);
34 extern void _xmlGetChildMap(xmlNodePtr in
, char *prop
, char *key
, _sv_propmap_t
**map
, int *out
,
35 char *msg
, int num
, int *warn
);
36 extern void _xmlGetChildMapPreserve(xmlNodePtr in
, char *prop
, char *key
, _sv_propmap_t
**map
, int *out
,
37 char *msg
, int num
, int *warn
);
38 extern void _xmlGetChildPropS(xmlNodePtr in
, char *prop
, char *key
, char **out
);
39 extern void _xmlGetChildPropSPreserve(xmlNodePtr in
, char *prop
, char *key
, char **out
);
40 extern void _xmlGetChildPropF(xmlNodePtr in
, char *prop
, char *key
, double *out
);
41 extern void _xmlGetChildPropFPreserve(xmlNodePtr in
, char *prop
, char *key
, double *out
);
42 extern void _xmlGetChildPropI(xmlNodePtr in
, char *prop
, char *key
, int *out
);
43 extern void _xmlGetChildPropIPreserve(xmlNodePtr in
, char *prop
, char *key
, int *out
);
45 extern int _sv_propmap_pos(_sv_propmap_t
**map
, int val
);
46 extern int _sv_propmap_last(_sv_propmap_t
**map
);
47 extern int _sv_propmap_label_pos(_sv_propmap_t
**map
, char *label
);