Changeset ac5d0a1ec3fd650a991e146c2e0969705f46a6a1

Show
Ignore:
Timestamp:
04/08/07 19:58:18 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1186250298 +0000
git-parent:

[c3102ca43decae519f8d0a5effb5012a0d49bd0c]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1186250298 +0000
Message:

module_GetHelp

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_modules.h

    rfb3ee6a rac5d0a1  
    4747 * Module descriptor 
    4848 */ 
    49 #ifndef __PLUGIN__ 
     49#ifndef __PLUGIN__FIXME 
    5050/* FIXME: scheduled for privatization */ 
    5151struct module_t 
     
    135135VLC_EXPORT( const char *, module_GetObjName, ( const module_t *m ) ); 
    136136VLC_EXPORT( const char *, module_GetName, ( const module_t *m, vlc_bool_t long_name ) ); 
    137  
     137#define module_GetLongName( m ) module_GetName( m, VLC_TRUE ) 
     138VLC_EXPORT( const char *, module_GetHelp, ( const module_t *m ) ); 
  • src/libvlc.sym

    rfb3ee6a rac5d0a1  
    181181module_GetObjName 
    182182module_GetName 
     183module_GetHelp 
    183184__msg_Dbg 
    184185__msg_Err 
  • src/modules/modules.c

    rfb3ee6a rac5d0a1  
    403403 * module_GetName: human-friendly name of a module. 
    404404 *****************************************************************************/ 
    405 const char *module_GetName(const module_t *m, vlc_bool_t long_name ) 
     405const char *module_GetName( const module_t *m, vlc_bool_t long_name ) 
    406406{ 
    407407    if( long_name && ( m->psz_longname != NULL) ) 
     
    409409     
    410410    return m->psz_shortname ?: m->psz_object_name; 
     411} 
     412 
     413const char *module_GetHelp( const module_t *m ) 
     414{ 
     415    return m->psz_help; 
    411416} 
    412417