• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifdef OHOS_SOCKET_HOOK_ENABLE
2 #include <sys/socket.h>
3 #include "musl_socket.h"
4 #include "musl_socket_preinit_common.h"
5 
6 struct SocketDispatchType __musl_libc_socket_dispatch;
7 
8 long long __current_dispatch;
9 
10 struct SocketDispatchType __libc_socket_default_dispatch = {
11 	.socket = MuslSocket(socket),
12 };
13 
14 bool __socket_hook_begin_flag;
15 
16 #endif