Commit e8da701b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not redefine standard types

parent da0a2988
...@@ -312,8 +312,6 @@ typedef struct filter_sys_t filter_sys_t; ...@@ -312,8 +312,6 @@ typedef struct filter_sys_t filter_sys_t;
/* Network */ /* Network */
typedef struct network_socket_t network_socket_t; typedef struct network_socket_t network_socket_t;
typedef struct virtual_socket_t v_socket_t; typedef struct virtual_socket_t v_socket_t;
typedef struct sockaddr sockaddr;
typedef struct addrinfo addrinfo;
typedef struct vlc_acl_t vlc_acl_t; typedef struct vlc_acl_t vlc_acl_t;
typedef struct vlc_url_t vlc_url_t; typedef struct vlc_url_t vlc_url_t;
......
...@@ -261,6 +261,8 @@ VLC_EXPORT(void, sout_MethodRelease, (announce_method_t *) ); ...@@ -261,6 +261,8 @@ VLC_EXPORT(void, sout_MethodRelease, (announce_method_t *) );
/** SDP */ /** SDP */
struct sockaddr;
VLC_EXPORT( char *, vlc_sdp_Start, ( vlc_object_t *obj, const char *cfgpref, const struct sockaddr *src, size_t srclen, const struct sockaddr *addr, size_t addrlen ) LIBVLC_USED ); VLC_EXPORT( char *, vlc_sdp_Start, ( vlc_object_t *obj, const char *cfgpref, const struct sockaddr *src, size_t srclen, const struct sockaddr *addr, size_t addrlen ) LIBVLC_USED );
VLC_EXPORT( char *, sdp_AddMedia, (char **sdp, const char *type, const char *protocol, int dport, unsigned pt, bool bw_indep, unsigned bw, const char *ptname, unsigned clockrate, unsigned channels, const char *fmtp) ); VLC_EXPORT( char *, sdp_AddMedia, (char **sdp, const char *type, const char *protocol, int dport, unsigned pt, bool bw_indep, unsigned bw, const char *ptname, unsigned clockrate, unsigned channels, const char *fmtp) );
VLC_EXPORT( char *, sdp_AddAttribute, (char **sdp, const char *name, const char *fmt, ...) LIBVLC_FORMAT( 3, 4 ) ); VLC_EXPORT( char *, sdp_AddAttribute, (char **sdp, const char *name, const char *fmt, ...) LIBVLC_FORMAT( 3, 4 ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment