Skip to content

Commit

Permalink
Remove SbSocketSetFoo APIs
Browse files Browse the repository at this point in the history
Change-Id: I7592d5592d3cbbbe788263b31aaa92ec6f756d88
  • Loading branch information
madhurajayaraman committed Sep 26, 2024
1 parent b39e0d6 commit c73e067
Show file tree
Hide file tree
Showing 19 changed files with 0 additions and 402 deletions.
6 changes: 0 additions & 6 deletions starboard/android/shared/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,7 @@ static_library("starboard_platform") {
"//starboard/shared/posix/socket_listen.cc",
"//starboard/shared/posix/socket_receive_from.cc",
"//starboard/shared/posix/socket_send_to.cc",
"//starboard/shared/posix/socket_set_broadcast.cc",
"//starboard/shared/posix/socket_set_receive_buffer_size.cc",
"//starboard/shared/posix/socket_set_reuse_address.cc",
"//starboard/shared/posix/socket_set_send_buffer_size.cc",
"//starboard/shared/posix/socket_set_tcp_keep_alive.cc",
"//starboard/shared/posix/socket_set_tcp_no_delay.cc",
"//starboard/shared/posix/socket_set_tcp_window_scaling.cc",
"//starboard/shared/posix/storage_write_record.cc",
"//starboard/shared/posix/system_break_into_debugger.cc",
"//starboard/shared/posix/system_clear_last_error.cc",
Expand Down
24 changes: 0 additions & 24 deletions starboard/common/socket.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,34 +120,10 @@ bool Socket::GetLocalAddress(SbSocketAddress* out_address) {
return SbSocketGetLocalAddress(socket_, out_address);
}

bool Socket::SetBroadcast(bool value) {
return SbSocketSetBroadcast(socket_, value);
}

bool Socket::SetReuseAddress(bool value) {
return SbSocketSetReuseAddress(socket_, value);
}

bool Socket::SetReceiveBufferSize(int32_t size) {
return SbSocketSetReceiveBufferSize(socket_, size);
}

bool Socket::SetSendBufferSize(int32_t size) {
return SbSocketSetSendBufferSize(socket_, size);
}

bool Socket::SetTcpKeepAlive(bool value, int64_t period) {
return SbSocketSetTcpKeepAlive(socket_, value, period);
}

bool Socket::SetTcpNoDelay(bool value) {
return SbSocketSetTcpNoDelay(socket_, value);
}

bool Socket::SetTcpWindowScaling(bool value) {
return SbSocketSetTcpWindowScaling(socket_, value);
}

SbSocket Socket::socket() {
return socket_;
}
Expand Down
6 changes: 0 additions & 6 deletions starboard/elf_loader/exported_symbols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,7 @@ ExportedSymbols::ExportedSymbols() {
REGISTER_SYMBOL(SbSocketListen);
REGISTER_SYMBOL(SbSocketReceiveFrom);
REGISTER_SYMBOL(SbSocketSendTo);
REGISTER_SYMBOL(SbSocketSetBroadcast);
REGISTER_SYMBOL(SbSocketSetReceiveBufferSize);
REGISTER_SYMBOL(SbSocketSetReuseAddress);
REGISTER_SYMBOL(SbSocketSetSendBufferSize);
REGISTER_SYMBOL(SbSocketSetTcpKeepAlive);
REGISTER_SYMBOL(SbSocketSetTcpNoDelay);
REGISTER_SYMBOL(SbSocketSetTcpWindowScaling);
REGISTER_SYMBOL(SbSocketWaiterAdd);
REGISTER_SYMBOL(SbSocketWaiterCreate);
REGISTER_SYMBOL(SbSocketWaiterDestroy);
Expand Down
6 changes: 0 additions & 6 deletions starboard/linux/shared/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,7 @@ static_library("starboard_platform_sources") {
"//starboard/shared/posix/socket_listen.cc",
"//starboard/shared/posix/socket_receive_from.cc",
"//starboard/shared/posix/socket_send_to.cc",
"//starboard/shared/posix/socket_set_broadcast.cc",
"//starboard/shared/posix/socket_set_receive_buffer_size.cc",
"//starboard/shared/posix/socket_set_reuse_address.cc",
"//starboard/shared/posix/socket_set_send_buffer_size.cc",
"//starboard/shared/posix/socket_set_tcp_keep_alive.cc",
"//starboard/shared/posix/socket_set_tcp_no_delay.cc",
"//starboard/shared/posix/socket_set_tcp_window_scaling.cc",
"//starboard/shared/posix/storage_write_record.cc",
"//starboard/shared/posix/system_break_into_debugger.cc",
"//starboard/shared/posix/system_clear_last_error.cc",
Expand Down
6 changes: 0 additions & 6 deletions starboard/raspi/shared/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,7 @@ static_library("starboard_platform_sources") {
"//starboard/shared/posix/socket_listen.cc",
"//starboard/shared/posix/socket_receive_from.cc",
"//starboard/shared/posix/socket_send_to.cc",
"//starboard/shared/posix/socket_set_broadcast.cc",
"//starboard/shared/posix/socket_set_receive_buffer_size.cc",
"//starboard/shared/posix/socket_set_reuse_address.cc",
"//starboard/shared/posix/socket_set_send_buffer_size.cc",
"//starboard/shared/posix/socket_set_tcp_keep_alive.cc",
"//starboard/shared/posix/socket_set_tcp_no_delay.cc",
"//starboard/shared/posix/socket_set_tcp_window_scaling.cc",
"//starboard/shared/posix/storage_write_record.cc",
"//starboard/shared/posix/system_break_into_debugger.cc",
"//starboard/shared/posix/system_clear_last_error.cc",
Expand Down
26 changes: 0 additions & 26 deletions starboard/shared/posix/socket_set_broadcast.cc

This file was deleted.

26 changes: 0 additions & 26 deletions starboard/shared/posix/socket_set_receive_buffer_size.cc

This file was deleted.

26 changes: 0 additions & 26 deletions starboard/shared/posix/socket_set_send_buffer_size.cc

This file was deleted.

40 changes: 0 additions & 40 deletions starboard/shared/posix/socket_set_tcp_keep_alive.cc

This file was deleted.

27 changes: 0 additions & 27 deletions starboard/shared/posix/socket_set_tcp_no_delay.cc

This file was deleted.

20 changes: 0 additions & 20 deletions starboard/shared/posix/socket_set_tcp_window_scaling.cc

This file was deleted.

19 changes: 0 additions & 19 deletions starboard/shared/stub/socket_set_broadcast.cc

This file was deleted.

19 changes: 0 additions & 19 deletions starboard/shared/stub/socket_set_receive_buffer_size.cc

This file was deleted.

19 changes: 0 additions & 19 deletions starboard/shared/stub/socket_set_send_buffer_size.cc

This file was deleted.

19 changes: 0 additions & 19 deletions starboard/shared/stub/socket_set_tcp_keep_alive.cc

This file was deleted.

19 changes: 0 additions & 19 deletions starboard/shared/stub/socket_set_tcp_no_delay.cc

This file was deleted.

19 changes: 0 additions & 19 deletions starboard/shared/stub/socket_set_tcp_window_scaling.cc

This file was deleted.

Loading

0 comments on commit c73e067

Please sign in to comment.