X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FHandleInfoHandler.h;h=a796a6d93d874f00ca530f680775d231dd0c8576;hp=7971ddfe53f9c997b2df4896c8c699e4a90f9dfc;hb=f6bdc9d0fc8db22c265918f3325e11177fd001b9;hpb=c575e458c6257e75b97884847143b20965a5dfda diff --git a/src/HandleInfoHandler.h b/src/HandleInfoHandler.h index 7971ddf..a796a6d 100644 --- a/src/HandleInfoHandler.h +++ b/src/HandleInfoHandler.h @@ -1,5 +1,5 @@ -/* HandleInfoHandler.h - NeonServ v5.2 - * 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