Skip to content

Commit

Permalink
[API] SRT_SOCKGROUPDATA typedef closer to the place it is needed in.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed May 6, 2022
1 parent ea6448f commit e208d9f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions srtcore/srt.h
Original file line number Diff line number Diff line change
Expand Up @@ -757,12 +757,6 @@ SRT_API int srt_cleanup(void);
SRT_ATR_DEPRECATED_PX SRT_API SRTSOCKET srt_socket(int, int, int) SRT_ATR_DEPRECATED;
SRT_API SRTSOCKET srt_create_socket(void);

// Group management

// Stubs when off

typedef struct SRT_SocketGroupData_ SRT_SOCKGROUPDATA;

SRT_API int srt_bind (SRTSOCKET u, const struct sockaddr* name, int namelen);
SRT_API int srt_bind_acquire (SRTSOCKET u, UDPSOCKET sys_udp_sock);
// Old name of srt_bind_acquire(), please don't use
Expand Down Expand Up @@ -791,6 +785,8 @@ SRT_API int srt_setsockopt (SRTSOCKET u, int level /*ignored*/, SRT_SOCK
SRT_API int srt_getsockflag (SRTSOCKET u, SRT_SOCKOPT opt, void* optval, int* optlen);
SRT_API int srt_setsockflag (SRTSOCKET u, SRT_SOCKOPT opt, const void* optval, int optlen);

typedef struct SRT_SocketGroupData_ SRT_SOCKGROUPDATA;

typedef struct SRT_MsgCtrl_
{
int flags; // Left for future
Expand Down

0 comments on commit e208d9f

Please sign in to comment.