X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FIODNSEngine_cares.c;fp=src%2FIODNSEngine_cares.c;h=c35cbc7fb1b41523f6d98d5be69de820744efb8a;hb=e18ef9b450a0704ff5c55545f70e3f1ec215a5e6;hp=0000000000000000000000000000000000000000;hpb=5ad65e65d2234b02151ea7ca17e3fa9893a9b165;p=IOMultiplexer.git diff --git a/src/IODNSEngine_cares.c b/src/IODNSEngine_cares.c new file mode 100644 index 0000000..c35cbc7 --- /dev/null +++ b/src/IODNSEngine_cares.c @@ -0,0 +1,41 @@ +/* IODNSEngine_cares.c - IOMultiplexer + * Copyright (C) 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 . + */ +#include "IODNSEngine.h" + +static int dnsengine_cares_init() { + return 0; +} + +static void dnsengine_cares_add(struct IODNSQuery *iodns) { + /* unused */ +} + +static void dnsengine_cares_remove(struct IODNSQuery *iodns) { + /* unused */ +} + +static void dnsengine_cares_loop() { + /* unused */ +} + +struct IODNSEngine dnsengine_cares = { + .name = "cares", + .init = dnsengine_cares_init, + .add = dnsengine_cares_add, + .remove = dnsengine_cares_remove, + .loop = dnsengine_cares_loop, +};