mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 11:38:19 +00:00
27 lines
552 B
C++
27 lines
552 B
C++
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
|
#ifndef ENGINE_SHARED_E_ENGINE_H
|
|
#define ENGINE_SHARED_E_ENGINE_H
|
|
|
|
#include "jobs.h"
|
|
|
|
class CHostLookup
|
|
{
|
|
public:
|
|
CJob m_Job;
|
|
char m_aHostname[128];
|
|
NETADDR m_Addr;
|
|
};
|
|
|
|
class CEngine
|
|
{
|
|
class CJobPool m_HostLookupPool;
|
|
|
|
public:
|
|
void Init(const char *pAppname);
|
|
void InitLogfile();
|
|
void HostLookup(CHostLookup *pLookup, const char *pHostname);
|
|
};
|
|
|
|
#endif
|