mirror of https://github.com/basinserver/basin/
28 lines
498 B
C
28 lines
498 B
C
/*
|
|
* globals.h
|
|
*
|
|
* Created on: Nov 19, 2015
|
|
* Author: root
|
|
*/
|
|
|
|
#ifndef BASIN_GLOBALS_H_
|
|
#define BASIN_GLOBALS_H_
|
|
|
|
#define MC_PROTOCOL_VERSION_MIN 210
|
|
#define MC_PROTOCOL_VERSION_MAX 316
|
|
#define CHUNK_VIEW_DISTANCE 10
|
|
|
|
#include <avuna/log.h>
|
|
#include <avuna/hash.h>
|
|
#include <avuna/pmem.h>
|
|
#include <avuna/queue.h>
|
|
#include <stdlib.h>
|
|
#include <pthread.h>
|
|
|
|
struct config* cfg;
|
|
struct mempool* global_pool;
|
|
struct logsess* delog;
|
|
struct hashmap* server_map;
|
|
|
|
#endif /* BASIN_GLOBALS_H_ */
|