Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ac5d0a1e
Commit
ac5d0a1e
authored
Aug 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
module_GetHelp
parent
c3102ca4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
include/vlc_modules.h
include/vlc_modules.h
+3
-2
src/libvlc.sym
src/libvlc.sym
+1
-0
src/modules/modules.c
src/modules/modules.c
+6
-1
No files found.
include/vlc_modules.h
View file @
ac5d0a1e
...
@@ -46,7 +46,7 @@ typedef shl_t module_handle_t;
...
@@ -46,7 +46,7 @@ typedef shl_t module_handle_t;
/**
/**
* Module descriptor
* Module descriptor
*/
*/
#ifndef __PLUGIN__
#ifndef __PLUGIN__
FIXME
/* FIXME: scheduled for privatization */
/* FIXME: scheduled for privatization */
struct
module_t
struct
module_t
{
{
...
@@ -134,4 +134,5 @@ enum vlc_module_properties
...
@@ -134,4 +134,5 @@ enum vlc_module_properties
VLC_EXPORT
(
vlc_bool_t
,
module_IsCapable
,
(
const
module_t
*
m
,
const
char
*
cap
)
);
VLC_EXPORT
(
vlc_bool_t
,
module_IsCapable
,
(
const
module_t
*
m
,
const
char
*
cap
)
);
VLC_EXPORT
(
const
char
*
,
module_GetObjName
,
(
const
module_t
*
m
)
);
VLC_EXPORT
(
const
char
*
,
module_GetObjName
,
(
const
module_t
*
m
)
);
VLC_EXPORT
(
const
char
*
,
module_GetName
,
(
const
module_t
*
m
,
vlc_bool_t
long_name
)
);
VLC_EXPORT
(
const
char
*
,
module_GetName
,
(
const
module_t
*
m
,
vlc_bool_t
long_name
)
);
#define module_GetLongName( m ) module_GetName( m, VLC_TRUE )
VLC_EXPORT
(
const
char
*
,
module_GetHelp
,
(
const
module_t
*
m
)
);
src/libvlc.sym
View file @
ac5d0a1e
...
@@ -180,6 +180,7 @@ __module_Unneed
...
@@ -180,6 +180,7 @@ __module_Unneed
module_IsCapable
module_IsCapable
module_GetObjName
module_GetObjName
module_GetName
module_GetName
module_GetHelp
__msg_Dbg
__msg_Dbg
__msg_Err
__msg_Err
__msg_Generic
__msg_Generic
...
...
src/modules/modules.c
View file @
ac5d0a1e
...
@@ -402,7 +402,7 @@ const char *module_GetObjName( const module_t *m )
...
@@ -402,7 +402,7 @@ const char *module_GetObjName( const module_t *m )
/*****************************************************************************
/*****************************************************************************
* module_GetName: human-friendly name of a module.
* module_GetName: human-friendly name of a module.
*****************************************************************************/
*****************************************************************************/
const
char
*
module_GetName
(
const
module_t
*
m
,
vlc_bool_t
long_name
)
const
char
*
module_GetName
(
const
module_t
*
m
,
vlc_bool_t
long_name
)
{
{
if
(
long_name
&&
(
m
->
psz_longname
!=
NULL
)
)
if
(
long_name
&&
(
m
->
psz_longname
!=
NULL
)
)
return
m
->
psz_longname
;
return
m
->
psz_longname
;
...
@@ -410,6 +410,11 @@ const char *module_GetName(const module_t *m, vlc_bool_t long_name )
...
@@ -410,6 +410,11 @@ const char *module_GetName(const module_t *m, vlc_bool_t long_name )
return
m
->
psz_shortname
?:
m
->
psz_object_name
;
return
m
->
psz_shortname
?:
m
->
psz_object_name
;
}
}
const
char
*
module_GetHelp
(
const
module_t
*
m
)
{
return
m
->
psz_help
;
}
/*****************************************************************************
/*****************************************************************************
* module_Need: return the best module function, given a capability list.
* module_Need: return the best module function, given a capability list.
*****************************************************************************
*****************************************************************************
...
...
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