Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_API RzSocketRapServer * | rz_socket_rap_server_new (bool use_ssl, const char *port) |
RZ_API RzSocketRapServer * | rz_socket_rap_server_create (const char *pathname) |
RZ_API void | rz_socket_rap_server_free (RzSocketRapServer *s) |
RZ_API bool | rz_socket_rap_server_listen (RzSocketRapServer *s, const char *certfile) |
RZ_API RzSocket * | rz_socket_rap_server_accept (RzSocketRapServer *s) |
RZ_API bool | rz_socket_rap_server_continue (RzSocketRapServer *s) |
RZ_API RzSocket* rz_socket_rap_server_accept | ( | RzSocketRapServer * | s | ) |
Definition at line 48 of file socket_rap_server.c.
References rz_socket_t::fd, NULL, rz_return_val_if_fail, rz_socket_accept(), and s.
RZ_API bool rz_socket_rap_server_continue | ( | RzSocketRapServer * | s | ) |
Definition at line 53 of file socket_rap_server.c.
References eprintf, fd, rz_socket_t::fd, i, NULL, RAP_PACKET_CLOSE, RAP_PACKET_CMD, RAP_PACKET_MAX, RAP_PACKET_OPEN, RAP_PACKET_READ, RAP_PACKET_REPLY, RAP_PACKET_SEEK, RAP_PACKET_WRITE, RZ_FREE, rz_read_be32(), rz_read_be64(), rz_return_val_if_fail, rz_socket_close(), rz_socket_flush(), rz_socket_is_connected(), rz_socket_read_block(), rz_socket_write(), rz_write_be32(), rz_write_be64(), s, and ut64().
RZ_API RzSocketRapServer* rz_socket_rap_server_create | ( | const char * | pathname | ) |
Definition at line 23 of file socket_rap_server.c.
References NULL, pathname, rz_return_val_if_fail, and rz_socket_rap_server_new().
RZ_API void rz_socket_rap_server_free | ( | RzSocketRapServer * | s | ) |
Definition at line 36 of file socket_rap_server.c.
References rz_socket_t::fd, free(), rz_socket_free(), and s.
RZ_API bool rz_socket_rap_server_listen | ( | RzSocketRapServer * | s, |
const char * | certfile | ||
) |
Definition at line 43 of file socket_rap_server.c.
References rz_socket_t::fd, rz_socket_t::port, rz_return_val_if_fail, rz_socket_listen(), and s.
RZ_API RzSocketRapServer* rz_socket_rap_server_new | ( | bool | use_ssl, |
const char * | port | ||
) |
Definition at line 8 of file socket_rap_server.c.
References rz_socket_t::fd, free(), NULL, rz_socket_t::port, RZ_NEW0, rz_return_val_if_fail, rz_socket_free(), rz_socket_new(), s, and strdup().
Referenced by rz_socket_rap_server_create().