*** VERSION 5.2.0 ***
[NeonServV5.git] / src / DBHelper.h
index 83780405d1bcb6b51f7ebb4d84c1c3fd51f4293f..2ccca54083d211d72dd7d3899bc871e2aecfe3e0 100644 (file)
@@ -1,3 +1,19 @@
+/* DBHelper.h - NeonServ v5.2
+ * Copyright (C) 2011  Philipp Kreil (pk910)
+ * 
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * 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, see <http://www.gnu.org/licenses/>. 
+ */
 #ifndef _DBHelper_h
 #define _DBHelper_h
 
@@ -21,4 +37,5 @@ int isUserProtected(struct ChanNode *chan, struct UserNode *victim, struct UserN
 
 char *getBanAffectingMask(struct ChanNode *chan, char *mask); //returns bans that match a given mask   eg. *!*@ab*  if you pass  *!*@abcdefg.*
 
+int renameAccount(char *oldauth, char *newauth);
 #endif
\ No newline at end of file