| | |
| | | static tfn_shm_mod_socket_remove_key fn_socket_remove_key = NULL; |
| | | static tfn_shm_mod_socket_remove_keys fn_socket_remove_keys = NULL; |
| | | |
| | | static tfn_net_mod_server_socket_open fn_server_socket_open = NULL; |
| | | static tfn_net_mod_server_socket_close fn_server_socket_close = NULL; |
| | | static tfn_net_mod_server_socket_start fn_server_socket_start = NULL; |
| | | ////////////////////////////////////////////////////////////////////// |
| | | |
| | | // labels |
| | |
| | | const static char l_net_mod_socket_free[] = "net_mod_socket_free"; |
| | | const static char l_shm_mod_socket_remove_key[] = "shm_mod_socket_remove_key"; |
| | | const static char l_shm_mod_socket_remove_keys[] = "shm_mod_socket_remove_keys"; |
| | | |
| | | const static char l_net_mod_server_socket_open[] = "net_mod_server_socket_open"; |
| | | const static char l_net_mod_server_socket_close[] = "net_mod_server_socket_close"; |
| | | const static char l_net_mod_server_socket_start[] = "net_mod_server_socket_start"; |
| | | ////////////////////////////////////////////////////////////////////// |
| | | |
| | | // dlopen dynamic library |
| | |
| | | int wrap_fn_socket_remove_key(hbhomebus lib, int key); |
| | | int wrap_fn_socket_remove_keys(hbhomebus lib, void *keys, int length); |
| | | |
| | | void *wrap_fn_server_socket_open(hbhomebus lib, int port); |
| | | void wrap_fn_server_socket_close(hbhomebus lib, void* _socket); |
| | | int wrap_fn_server_socket_start(hbhomebus lib, void* _socket); |
| | | |
| | | #ifdef __cplusplus |
| | | } |