ddnet/src/engine/shared/engine.h
2010-08-06 20:38:13 +02:00

25 lines
360 B
C++

#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