Changeset b5aee88c089035938b603929d29b5d113553f4fa
- Timestamp:
- 05/27/08 18:53:25
(3 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1211907205 +0200
- git-parent:
[c302959a487d7aa1a4c5cb38d644e1dce6ccc9cf]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1211905994 +0200
- Message:
libvlccore: Make sure all symbol listed in libvlccore.sym are exported.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc6c6c0e |
rb5aee88 |
|
| 801 | 801 | * I18n stuff |
|---|
| 802 | 802 | *****************************************************************************/ |
|---|
| 803 | | #ifdef WIN32 |
|---|
| 804 | | VLC_EXPORT( char *, vlc_dgettext, ( const char *package, const char *msgid ) ); |
|---|
| 805 | | VLC_EXPORT( int, vlc_wclosedir, (void *) ); |
|---|
| 806 | | #endif |
|---|
| 807 | | |
|---|
| 808 | 803 | VLC_EXPORT( char *, vlc_gettext, ( const char *msgid ) ); |
|---|
| 809 | 804 | |
|---|
| r9d85c35 |
rb5aee88 |
|
| 60 | 60 | }; |
|---|
| 61 | 61 | |
|---|
| 62 | | VLC_EXPORT( ssize_t, vlc_sendmsg, ( int, struct msghdr *, int ) ); |
|---|
| 63 | | VLC_EXPORT( ssize_t, vlc_recvmsg, ( int, struct msghdr *, int ) ); |
|---|
| 64 | 62 | #define sendmsg vlc_sendmsg |
|---|
| 65 | 63 | #define recvmsg vlc_recvmsg |
|---|
| … | … | |
| 82 | 80 | #endif |
|---|
| 83 | 81 | |
|---|
| | 82 | VLC_EXPORT( ssize_t, vlc_sendmsg, ( int, struct msghdr *, int ) ); |
|---|
| | 83 | VLC_EXPORT( ssize_t, vlc_recvmsg, ( int, struct msghdr *, int ) ); |
|---|
| | 84 | |
|---|
| 84 | 85 | # ifdef __cplusplus |
|---|
| 85 | 86 | extern "C" { |
|---|
| … | … | |
| 155 | 156 | |
|---|
| 156 | 157 | |
|---|
| | 158 | /* Don't go to an extra call layer if we have the symbol */ |
|---|
| 157 | 159 | #ifndef HAVE_INET_PTON |
|---|
| 158 | | /* only in core, so no need for C++ extern "C" */ |
|---|
| 159 | | VLC_EXPORT (int, inet_pton, (int af, const char *src, void *dst) ); |
|---|
| 160 | | #endif |
|---|
| 161 | | |
|---|
| | 160 | #define inet_pton vlc_inet_pton |
|---|
| | 161 | #endif |
|---|
| 162 | 162 | #ifndef HAVE_INET_NTOP |
|---|
| 163 | | #ifdef WIN32 |
|---|
| 164 | | /* only in core, so no need for C++ extern "C" */ |
|---|
| 165 | | VLC_EXPORT (const char *, inet_ntop, (int af, const void *src, |
|---|
| | 163 | #define inet_ntop vlc_inet_ntop |
|---|
| | 164 | #endif |
|---|
| | 165 | |
|---|
| | 166 | VLC_EXPORT (int, vlc_inet_pton, (int af, const char *src, void *dst) ); |
|---|
| | 167 | VLC_EXPORT (const char *, vlc_inet_ntop, (int af, const void *src, |
|---|
| 166 | 168 | char *dst, socklen_t cnt) ); |
|---|
| 167 | | #endif |
|---|
| 168 | | #endif |
|---|
| 169 | 169 | |
|---|
| 170 | 170 | #ifndef HAVE_POLL |
|---|
| rbb29acd |
rb5aee88 |
|
| 281 | 281 | # include <dirent.h> |
|---|
| 282 | 282 | void *vlc_wopendir (const wchar_t *); |
|---|
| | 283 | void *vlc_wclosedir (void *); |
|---|
| 283 | 284 | struct _wdirent *vlc_wreaddir (void *); |
|---|
| 284 | 285 | void vlc_rewinddir (void *); |
|---|
| … | … | |
| 287 | 288 | # define _wclosedir vlc_wclosedir |
|---|
| 288 | 289 | # define rewinddir vlc_rewinddir |
|---|
| | 290 | |
|---|
| | 291 | char *vlc_dgettext ( const char *package, const char *msgid ); |
|---|
| 289 | 292 | #endif |
|---|
| 290 | 293 | |
|---|
| r3c810a5 |
rb5aee88 |
|
| 75 | 75 | date_Move |
|---|
| 76 | 76 | date_Set |
|---|
| | 77 | DecodeLanguage |
|---|
| 77 | 78 | decoder_GetDisplayDate |
|---|
| 78 | 79 | decoder_GetInputAttachment |
|---|
| … | … | |
| 97 | 98 | FromLocaleDup |
|---|
| 98 | 99 | GetFallbackEncoding |
|---|
| | 100 | GetLang_1 |
|---|
| | 101 | GetLang_2B |
|---|
| | 102 | GetLang_2T |
|---|
| 99 | 103 | httpd_ClientIP |
|---|
| 100 | 104 | httpd_ClientModeBidir |
|---|
| … | … | |
| 124 | 128 | __image_HandlerCreate |
|---|
| 125 | 129 | image_HandlerDelete |
|---|
| 126 | | inet_ntop |
|---|
| 127 | | inet_pton |
|---|
| 128 | 130 | InitMD5 |
|---|
| 129 | 131 | input_AddSubtitles |
|---|
| … | … | |
| 390 | 392 | vlc_config_set |
|---|
| 391 | 393 | vlc_CPU |
|---|
| 392 | | vlc_dgettext |
|---|
| 393 | 394 | vlc_error |
|---|
| 394 | 395 | __vlc_event_attach |
|---|
| … | … | |
| 408 | 409 | vlc_iconv_close |
|---|
| 409 | 410 | vlc_iconv_open |
|---|
| | 411 | vlc_inet_ntop |
|---|
| | 412 | vlc_inet_pton |
|---|
| 410 | 413 | __vlc_list_children |
|---|
| 411 | 414 | __vlc_list_find |
|---|
| … | … | |
| 453 | 456 | vlc_ureduce |
|---|
| 454 | 457 | VLC_Version |
|---|
| 455 | | vlc_wclosedir |
|---|
| 456 | 458 | vlc_wraptext |
|---|
| 457 | 459 | vlm_Control |
|---|
| r449fd28 |
rb5aee88 |
|
| 553 | 553 | * inet_pton replacement for obsolete and/or crap operating systems |
|---|
| 554 | 554 | *****************************************************************************/ |
|---|
| | 555 | int vlc_inet_pton(int af, const char *src, void *dst) |
|---|
| | 556 | { |
|---|
| 555 | 557 | #ifndef HAVE_INET_PTON |
|---|
| 556 | | int inet_pton(int af, const char *src, void *dst) |
|---|
| 557 | | { |
|---|
| 558 | 558 | # ifdef WIN32 |
|---|
| 559 | 559 | /* As we already know, Microsoft always go its own way, so even if they do |
|---|
| … | … | |
| 613 | 613 | # endif /* WIN32 */ |
|---|
| 614 | 614 | return 0; |
|---|
| 615 | | } |
|---|
| | 615 | #else /* HAVE_INET_PTON */ |
|---|
| | 616 | return inet_pton( af, src, dst ); |
|---|
| 616 | 617 | #endif /* HAVE_INET_PTON */ |
|---|
| 617 | | |
|---|
| | 618 | } |
|---|
| | 619 | |
|---|
| | 620 | const char *vlc_inet_ntop(int af, const void * src, |
|---|
| | 621 | char * dst, socklen_t cnt) |
|---|
| | 622 | { |
|---|
| 618 | 623 | #ifndef HAVE_INET_NTOP |
|---|
| 619 | 624 | #ifdef WIN32 |
|---|
| 620 | | const char *inet_ntop(int af, const void * src, |
|---|
| 621 | | char * dst, socklen_t cnt) |
|---|
| 622 | | { |
|---|
| 623 | 625 | switch( af ) |
|---|
| 624 | 626 | { |
|---|
| … | … | |
| 663 | 665 | errno = EAFNOSUPPORT; |
|---|
| 664 | 666 | return NULL; |
|---|
| 665 | | } |
|---|
| 666 | | #endif |
|---|
| 667 | | #endif |
|---|
| | 667 | #else /* WIN32 */ |
|---|
| | 668 | return NULL; |
|---|
| | 669 | #endif /* WIN32 */ |
|---|
| | 670 | #else /* HAVE_INET_NTOP */ |
|---|
| | 671 | return inet_ntop( af, src, dst, cnt ); |
|---|
| | 672 | #endif /* HAVE_INET_NTOP */ |
|---|
| | 673 | } |
|---|
| | 674 | |
|---|
| | 675 | #ifdef WIN32 |
|---|
| | 676 | /* vlc_sendmsg, vlc_recvmsg Defined in winsock.c */ |
|---|
| | 677 | #else /* !WIN32 */ |
|---|
| | 678 | ssize_t vlc_sendmsg (int s, struct msghdr *hdr, int flags) |
|---|
| | 679 | { |
|---|
| | 680 | return sendmsg (s, hdr, flags); |
|---|
| | 681 | } |
|---|
| | 682 | |
|---|
| | 683 | ssize_t vlc_recvmsg (int s, struct msghdr *hdr, int flags) |
|---|
| | 684 | { |
|---|
| | 685 | return recvmsg (s, hdr, flags); |
|---|
| | 686 | } |
|---|
| | 687 | #endif /* WIN32 */ |
|---|
| | 688 | |
|---|