/*
Minetest
-Copyright (C) 2011 celeron55, Perttu Ahola <celeron55@gmail.com>
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
#include <iostream>
#include "config.h"
+#include "mods.h"
#include "json/json.h"
#ifndef SERVERLIST_HEADER
std::vector<ServerListSpec> deSerializeJson(std::string liststring);
std::string serializeJson(std::vector<ServerListSpec>);
#if USE_CURL
- void sendAnnounce(std::string action = "", u16 clients = 0);
+ void sendAnnounce(std::string action = "", const std::vector<std::string> & clients_names = std::vector<std::string>(),
+ double uptime = 0, u32 game_time = 0,std::string gameid = "",
+ std::vector<ModSpec> mods = std::vector<ModSpec>());
#endif
} //ServerList namespace