handmade/include/util.h
Bubblegumdrop 764ebe4ce2 Another Buffer_To_UDPPacketV. Yet to test.
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.
2022-01-08 21:23:42 -05:00

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);