Rizin
unix-like reverse engineering framework and cli tools
|
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "libqnxr.h"
#include <stdio.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
int | qnxr_send_nak (libqnxr_t *instance) |
int | qnxr_send_ch_reset (libqnxr_t *instance) |
int | qnxr_send_ch_debug (libqnxr_t *instance) |
int | qnxr_send_ch_text (libqnxr_t *instance) |
int | qnxr_send_packet (libqnxr_t *instance) |
sends a packet sends a packet to the established connection More... | |
int | qnxr_read_packet (libqnxr_t *instance) |
Function reads data from the established connection. More... | |
Function reads data from the established connection.
instance | the "instance" of the current libqnxr session |
Definition at line 65 of file packet.c.
References DS_DATA_MAX_SIZE, EINTR, eprintf, g, READ_TIMEOUT, rz_socket_read(), rz_socket_ready(), SET_CHANNEL_NAK, SET_CHANNEL_TEXT, and unpack().
Referenced by nto_send(), and qnxr_wait().
Definition at line 135 of file packet.c.
References ch_debug_packet, g, and rz_socket_write().
Referenced by qnxr_send_packet(), and qnxr_wait().
Definition at line 131 of file packet.c.
References ch_reset_packet, g, and rz_socket_write().
Referenced by qnxr_connect().
Definition at line 139 of file packet.c.
References ch_text_packet, g, and rz_socket_write().
Referenced by qnxr_send_packet().
sends a packet sends a packet to the established connection
instance | the "instance" of the current libqnxr session |
Definition at line 143 of file packet.c.
References c, eprintf, ESC_CHAR, FRAME_CHAR, g, i, p, qnxr_send_ch_debug(), qnxr_send_ch_text(), rz_socket_write(), SET_CHANNEL_DEBUG, and SET_CHANNEL_TEXT.
Referenced by nto_send(), qnxr_stop(), and qnxr_wait().