14 lines
219 B
C++
14 lines
219 B
C++
#pragma once
|
|
|
|
namespace net {
|
|
|
|
typedef void (*netErrorCallback)(const char* message, int code);
|
|
|
|
void setErrorCallback(netErrorCallback cb);
|
|
void netError(const char* err, int code);
|
|
|
|
bool prepare();
|
|
void clear();
|
|
|
|
};
|