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
3a427169
Commit
3a427169
authored
Jan 27, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Privatize vlc_module_create()
parent
6fc5c512
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
include/vlc_plugin.h
include/vlc_plugin.h
+0
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/modules/modules.h
src/modules/modules.h
+2
-0
src/modules/os.c
src/modules/os.c
+1
-1
No files found.
include/vlc_plugin.h
View file @
3a427169
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
* This file implements plugin (module) macros used to define a vlc module.
* This file implements plugin (module) macros used to define a vlc module.
*/
*/
VLC_EXPORT
(
module_t
*
,
vlc_module_create
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
module_t
*
,
vlc_submodule_create
,
(
module_t
*
)
);
VLC_EXPORT
(
module_t
*
,
vlc_submodule_create
,
(
module_t
*
)
);
VLC_EXPORT
(
int
,
vlc_module_set
,
(
module_t
*
module
,
int
propid
,
...)
);
VLC_EXPORT
(
int
,
vlc_module_set
,
(
module_t
*
module
,
int
propid
,
...)
);
VLC_EXPORT
(
module_config_t
*
,
vlc_config_create
,
(
module_t
*
,
int
type
)
);
VLC_EXPORT
(
module_config_t
*
,
vlc_config_create
,
(
module_t
*
,
int
type
)
);
...
...
src/libvlccore.sym
View file @
3a427169
...
@@ -473,7 +473,6 @@ __vlc_list_children
...
@@ -473,7 +473,6 @@ __vlc_list_children
vlc_list_release
vlc_list_release
vlc_memcpy
vlc_memcpy
vlc_memset
vlc_memset
vlc_module_create
vlc_module_set
vlc_module_set
vlc_mutex_destroy
vlc_mutex_destroy
vlc_mutex_init
vlc_mutex_init
...
...
src/modules/modules.h
View file @
3a427169
...
@@ -146,6 +146,8 @@ struct module_t
...
@@ -146,6 +146,8 @@ struct module_t
bool
b_loaded
;
/* Set to true if the dll is loaded */
bool
b_loaded
;
/* Set to true if the dll is loaded */
};
};
module_t
*
vlc_module_create
(
vlc_object_t
*
);
#define module_InitBank(a) __module_InitBank(VLC_OBJECT(a))
#define module_InitBank(a) __module_InitBank(VLC_OBJECT(a))
void
__module_InitBank
(
vlc_object_t
*
);
void
__module_InitBank
(
vlc_object_t
*
);
#define module_LoadBuiltins(a) __module_LoadBuiltins(VLC_OBJECT(a))
#define module_LoadBuiltins(a) __module_LoadBuiltins(VLC_OBJECT(a))
...
...
src/modules/os.c
View file @
3a427169
...
@@ -133,7 +133,7 @@ int module_Call( vlc_object_t *obj, module_t *p_module )
...
@@ -133,7 +133,7 @@ int module_Call( vlc_object_t *obj, module_t *p_module )
/* Make sure libvlccore is in the global namespace */
/* Make sure libvlccore is in the global namespace */
static
void
load_libvlccore
(
void
)
static
void
load_libvlccore
(
void
)
{
{
if
(
!
dlsym
(
RTLD_DEFAULT
,
"
vlc_module_create
"
)
if
(
!
dlsym
(
RTLD_DEFAULT
,
"
libvlc_Quit
"
)
&&
!
dlopen
(
"libvlccore.so"
,
RTLD_GLOBAL
|
RTLD_NOLOAD
)
)
&&
!
dlopen
(
"libvlccore.so"
,
RTLD_GLOBAL
|
RTLD_NOLOAD
)
)
fprintf
(
stderr
,
"ERROR: failed loading libvlccore
\n
"
);
fprintf
(
stderr
,
"ERROR: failed loading libvlccore
\n
"
);
}
}
...
...
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