forked from EXTERNAL/bareiron
move headers to separate directory
This commit is contained in:
14
include/varnum.h
Normal file
14
include/varnum.h
Normal 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
|
Reference in New Issue
Block a user