]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/resolve.h
044ceec1e123ba096f66e6b8935fb28d0b52f535
[ngircd-alex.git] / src / ngircd / resolve.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2010 by Alexander Barton (alex@barton.de)
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * Please read the file COPYING, README and AUTHORS for more information.
10  *
11  * Asynchronous resolver (header)
12  */
13
14 #ifndef __resolve_h__
15 #define __resolve_h__
16
17 GLOBAL bool Resolve_Addr PARAMS((PROC_STAT * s, const ng_ipaddr_t * Addr,
18                                  int identsock, void (*cbfunc) (int, short)));
19 GLOBAL bool Resolve_Name PARAMS((PROC_STAT * s, const char *Host,
20                                  void (*cbfunc) (int, short)));
21
22 #endif
23
24 /* -eof- */