/* * relational.h * * by Joern Thyssen , 2004. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 3 or later of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * $Id: relational.h,v 1.16 2018/06/16 14:50:07 plm Exp $ */ #ifndef RELATIONAL_H #define RELATIONAL_H #include #include #include "analysis.h" #include "dbprovider.h" #define DB_VERSION 1 extern int RelationalUpdatePlayerDetails(const char *oldName, const char *newName, const char *newNotes); extern float Ratio(float a, int b); extern statcontext *relational_player_stats_get(const char *player0, const char *player1); #endif /* RELATIONAL_H */