Rizin
unix-like reverse engineering framework and cli tools
packet.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2014 defragger <rlaemmert@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.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 "libgdbr.h"
12 #include <stdio.h>
13 #if __WINDOWS__
14 #include <windows.h>
15 #if !defined(_MSC_VER)
16 #include <winsock.h>
17 #endif
18 #endif
24 int send_packet(libgdbr_t *g);
25 
32 int read_packet(libgdbr_t *g, bool vcont);
33 
34 int pack(libgdbr_t *g, const char *msg);
35 
36 #endif
struct @667 g
int read_packet(libgdbr_t *g, bool vcont)
Function reads data from the established connection.
Definition: packet.c:143
int send_packet(libgdbr_t *g)
sends a packet sends a packet to the established connection
Definition: packet.c:193
int pack(libgdbr_t *g, const char *msg)
Definition: packet.c:206
static struct sockaddr static addrlen static backlog const void msg
Definition: sfsocketcall.h:119