764ebe4ce2
Split UDPbase out. Change ShaderProgram to std::unique_ptr<ShaderProgram>. I think I may change Buffer_To_UDPPacketV to some kind of RAII style code.
17 lines
357 B
C++
17 lines
357 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <stddef.h> /* size_t */
|
|
|
|
#include <SDL_net.h>
|
|
|
|
void error (const char*, ...);
|
|
|
|
int util_IsProbablyAscii (const void *, const size_t);
|
|
void util_HexDump (const void *, const size_t);
|
|
|
|
void util_UDP_DumpPacket (UDPpacket*);
|
|
|
|
UDPpacket** Buffer_To_UDPPacketV (UDPpacket* src, const void* buf, const size_t size);
|