[vlc-devel] [PATCH 1/3] Move mime type guessing by extension to separate module.

Angelo Haller vlc-devel at szanni.org
Fri Aug 10 10:19:25 CEST 2012


On 08/05/2012 11:32 PM, Rémi Denis-Courmont wrote:
> Le mardi 31 juillet 2012 15:34:02 Angelo Haller, vous avez écrit :
>> ---
>>   .../cmake/CMakeLists/src_CMakeLists.txt            |   1 +
>>   include/vlc_mime.h                                 |  31 ++++++
>>   src/Makefile.am                                    |   2 +
>>   src/libvlccore.sym                                 |   1 +
>>   src/misc/mime.c                                    | 107
>> +++++++++++++++++++++ src/network/httpd.c                                |
>>   80 +-------------- 6 files changed, 145 insertions(+), 77 deletions(-)
>>   create mode 100644 include/vlc_mime.h
>>   create mode 100644 src/misc/mime.c
> We always use the vlc_ prefix for new functions, to avoid shared object
> namespace clashes.
>

The scheme is vlc_module_function? So something like vlc_mime_Ext2Mime
in this case I guess?

Best regards



More information about the vlc-devel mailing list