2022-01-03 14:48:50 -05:00
|
|
|
#pragma once
|
|
|
|
|
2022-01-04 09:05:11 -05:00
|
|
|
#include <string>
|
|
|
|
|
2022-01-03 14:48:50 -05:00
|
|
|
#include <stddef.h> /* size_t */
|
|
|
|
|
2022-01-04 09:05:11 -05:00
|
|
|
#include <SDL_net.h>
|
|
|
|
|
2022-01-08 18:59:40 -05:00
|
|
|
void error (const char*, ...);
|
2022-01-04 09:05:11 -05:00
|
|
|
|
2022-01-08 18:59:40 -05:00
|
|
|
int util_IsProbablyAscii (const void *, const size_t);
|
|
|
|
void util_HexDump (const void *, const size_t);
|
|
|
|
|
|
|
|
void util_UDP_DumpPacket (UDPpacket*);
|
|
|
|
int util_UDP_ApproximatePacketVSize (UDPpacket*);
|