move headers to separate directory

This commit is contained in:
p2r3
2025-08-20 13:42:56 +03:00
parent 837ce1e463
commit 5f3dcc56f9
8 changed files with 2 additions and 2 deletions

14
include/varnum.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef H_VARNUM
#define H_VARNUM
#include <stdint.h>
#define SEGMENT_BITS 0x7F
#define CONTINUE_BIT 0x80
#define VARNUM_ERROR 0xFFFFFFFF
int32_t readVarInt (int client_fd);
int sizeVarInt (uint32_t value);
void writeVarInt (int client_fd, uint32_t value);
#endif