- void (*socket_client)(gras_trp_plugin_t self,
- gras_socket_t dst);
- void (*socket_server)(gras_trp_plugin_t self,
- gras_socket_t dst);
-
- gras_socket_t (*socket_accept)(gras_socket_t from);
-
-
- /* socket_close() is responsible of telling the OS that the socket is over,
- but should not free the socket itself (beside the specific part) */
- void (*socket_close)(gras_socket_t sd);
-
+ void (*socket_client) (gras_trp_plugin_t self, gras_socket_t dst);
+ void (*socket_server) (gras_trp_plugin_t self, gras_socket_t dst);
+
+ gras_socket_t(*socket_accept) (gras_socket_t from);
+
+
+ /* socket_close() is responsible of telling the OS that the socket is over,
+ but should not free the socket itself (beside the specific part) */
+ void (*socket_close) (gras_socket_t sd);
+