(thanks to the people reading git and excessively exploiting this bug... It was undet...
[NeonServV5.git] / src / HandleInfoHandler.h
index e51fe8db8fd7f59adce0d5f9024ed82372096206..a796a6d93d874f00ca530f680775d231dd0c8576 100644 (file)
@@ -1,3 +1,19 @@
+/* HandleInfoHandler.h - NeonServ v5.6
+ * Copyright (C) 2011-2012  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 _HandleInfoHandler_h
 #define _HandleInfoHandler_h
 
 struct ClientSocket;
 struct UserNode;
 
-#define AUTHLOOKUP_CALLBACK(NAME) void NAME(UNUSED_ARG(char *auth), UNUSED_ARG(int exists), UNUSED_ARG(void *data))
+#define AUTHLOOKUP_CALLBACK(NAME) void NAME(UNUSED_ARG(char *auth), UNUSED_ARG(int exists), UNUSED_ARG(time_t registered), UNUSED_ARG(void *data))
 typedef AUTHLOOKUP_CALLBACK(authlookup_callback_t);
 
-void lookup_authname(char *auth, authlookup_callback_t callback, void *data);
+#ifndef DND_FUNCTIONS
+void clear_handleinfoqueue(struct ClientSocket *client);
+/* MODULAR ACCESSIBLE */ void lookup_authname(char *auth, int module_id, authlookup_callback_t callback, void *data);
 void init_handleinfohandler();
 void free_handleinfohandler();
-
-#endif
\ No newline at end of file
+#endif
+#endif