X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FHandleInfoHandler.h;h=a796a6d93d874f00ca530f680775d231dd0c8576;hp=63e0264dc4c73ee8b25f6a3a2653257b10d406e6;hb=f6bdc9d0fc8db22c265918f3325e11177fd001b9;hpb=2d9db1adb1946aba00b203f40eff7d5db8163f01 diff --git a/src/HandleInfoHandler.h b/src/HandleInfoHandler.h index 63e0264..a796a6d 100644 --- a/src/HandleInfoHandler.h +++ b/src/HandleInfoHandler.h @@ -1,5 +1,5 @@ -/* HandleInfoHandler.h - NeonServ v5.1 - * Copyright (C) 2011 Philipp Kreil (pk910) +/* 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 @@ -22,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