Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
f37d2269
Commit
f37d2269
authored
Aug 05, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xtag: don't pretend to support DTD and catalogs
parent
d74fa0c5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
47 deletions
+0
-47
modules/misc/xml/xtag.c
modules/misc/xml/xtag.c
+0
-47
No files found.
modules/misc/xml/xtag.c
View file @
f37d2269
...
...
@@ -83,17 +83,11 @@ typedef struct _XTagParser
/*****************************************************************************
* Module descriptor
*****************************************************************************/
static
int
Open
(
vlc_object_t
*
);
static
void
Close
(
vlc_object_t
*
);
static
int
ReaderOpen
(
vlc_object_t
*
);
static
void
ReaderClose
(
vlc_object_t
*
);
vlc_module_begin
()
set_description
(
N_
(
"Simple XML Parser"
)
)
set_capability
(
"xml"
,
5
)
set_callbacks
(
Open
,
Close
)
add_submodule
()
set_capability
(
"xml reader"
,
5
)
set_callbacks
(
ReaderOpen
,
ReaderClose
)
vlc_module_end
()
...
...
@@ -114,9 +108,6 @@ static int ReaderNextAttr( xml_reader_t * );
static
int
ReaderUseDTD
(
xml_reader_t
*
,
bool
);
static
void
CatalogLoad
(
xml_t
*
,
const
char
*
);
static
void
CatalogAdd
(
xml_t
*
,
const
char
*
,
const
char
*
,
const
char
*
);
static
XTag
*
xtag_new_parse
(
const
char
*
,
int
);
static
char
*
xtag_get_name
(
XTag
*
);
#if 0
...
...
@@ -130,44 +121,6 @@ static void xtag_free( XTag * );
static int xtag_snprint( char *, int, XTag * );
#endif
/*****************************************************************************
* Module initialization
*****************************************************************************/
static
int
Open
(
vlc_object_t
*
p_this
)
{
xml_t
*
p_xml
=
(
xml_t
*
)
p_this
;
p_xml
->
pf_catalog_load
=
CatalogLoad
;
p_xml
->
pf_catalog_add
=
CatalogAdd
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
* Module deinitialization
*****************************************************************************/
static
void
Close
(
vlc_object_t
*
p_this
)
{
VLC_UNUSED
(
p_this
);
return
;
}
/*****************************************************************************
* Catalogue functions
*****************************************************************************/
static
void
CatalogLoad
(
xml_t
*
p_xml
,
const
char
*
psz_filename
)
{
VLC_UNUSED
(
psz_filename
);
msg_Dbg
(
p_xml
,
"catalog support not implemented"
);
}
static
void
CatalogAdd
(
xml_t
*
p_xml
,
const
char
*
psz_arg1
,
const
char
*
psz_arg2
,
const
char
*
psz_filename
)
{
VLC_UNUSED
(
p_xml
);
VLC_UNUSED
(
psz_arg1
);
VLC_UNUSED
(
psz_arg2
);
VLC_UNUSED
(
psz_filename
);
}
/*****************************************************************************
* Reader functions
*****************************************************************************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment