about summary refs log tree commit diff
path: root/src/engine/shared/engine.h
blob: 63b0cc097b5f6736ac56201faa8eef24cd444515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* (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