Rizin
unix-like reverse engineering framework and cli tools
packet.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2016 madprogrammer
2 // SPDX-License-Identifier: GPL-2.0-only
3 
5 #ifndef PACKET_H
6 #define PACKET_H
7 
8 #include <stdint.h>
9 #include <string.h>
10 #include <stdlib.h>
11 #include "libqnxr.h"
12 #include <stdio.h>
13 #if __WINDOWS__
14 #include <windows.h>
15 #if !__CYGWIN__ && !defined(MSC_VER)
16 #include <winsock.h>
17 #endif
18 #else
19 #include <unistd.h>
20 #endif
21 
22 int qnxr_send_nak(libqnxr_t *instance);
23 int qnxr_send_ch_reset(libqnxr_t *instance);
24 int qnxr_send_ch_debug(libqnxr_t *instance);
25 int qnxr_send_ch_text(libqnxr_t *instance);
26 
32 int qnxr_send_packet(libqnxr_t *instance);
33 
39 int qnxr_read_packet(libqnxr_t *instance);
40 
41 #endif
int qnxr_send_ch_debug(libqnxr_t *instance)
Definition: packet.c:135
int qnxr_send_ch_text(libqnxr_t *instance)
Definition: packet.c:139
int qnxr_send_nak(libqnxr_t *instance)
Definition: packet.c:127
int qnxr_read_packet(libqnxr_t *instance)
Function reads data from the established connection.
Definition: packet.c:65
int qnxr_send_packet(libqnxr_t *instance)
sends a packet sends a packet to the established connection
Definition: packet.c:143
int qnxr_send_ch_reset(libqnxr_t *instance)
Definition: packet.c:131