X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FHandleInfoHandler.h;h=a796a6d93d874f00ca530f680775d231dd0c8576;hp=e51fe8db8fd7f59adce0d5f9024ed82372096206;hb=f6bdc9d0fc8db22c265918f3325e11177fd001b9;hpb=0f1dc61921eef1db8e404a5a82372e2d1cd55daa diff --git a/src/HandleInfoHandler.h b/src/HandleInfoHandler.h index e51fe8d..a796a6d 100644 --- a/src/HandleInfoHandler.h +++ b/src/HandleInfoHandler.h @@ -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 . + */ #ifndef _HandleInfoHandler_h #define _HandleInfoHandler_h @@ -6,11 +22,13 @@ 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