| | |
| | | return -1; |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | int bus_server_socket_wrapper_data_get(void * _socket, int val) { |
| | | int ret; |
| | | BusServerSocket *sockt = (BusServerSocket *)_socket; |
| | | |
| | | ret = sockt->get_data(val); |
| | | |
| | | return ret; |
| | | |
| | | } |
| | | |
| | | int bus_server_socket_wrapper_proc_check(void * _socket, int val, char *buf, int len, void **buf_ret, int *len_ret, \ |
| | | const struct timespec *timeout, const int flag) { |
| | | int ret; |
| | | BusServerSocket *sockt = (BusServerSocket *)_socket; |
| | | |
| | | ret = sockt->check_proc(val, buf, len, buf_ret, len_ret, timeout, flag); |
| | | |
| | | return ret; |
| | | |
| | | } |
| | | |
| | | void bus_server_socket_wrapper_proc_release(void * _socket, int val) { |
| | | |
| | | BusServerSocket *sockt = (BusServerSocket *)_socket; |
| | | |
| | | sockt->remove_proc(val); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |