Free (GPLv2) TCP/IP stack developed by TASS Belgium

Fork of PicoTCP by Daniele Lacamera

Committer:
daniele
Date:
Sat Aug 03 08:50:27 2013 +0000
Revision:
51:18637a3d071f
Parent:
29:1a47b7151851
Branch for CDC-ECM: Work in progress

Who changed what in which revision?

UserRevisionLine numberNew contents of line
daniele 29:1a47b7151851 1 /*********************************************************************
daniele 29:1a47b7151851 2 PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved.
daniele 29:1a47b7151851 3 See LICENSE and COPYING for usage.
daniele 29:1a47b7151851 4
daniele 29:1a47b7151851 5 .
daniele 29:1a47b7151851 6
daniele 29:1a47b7151851 7 Authors: Kristof Roelants
daniele 29:1a47b7151851 8 *********************************************************************/
daniele 29:1a47b7151851 9
daniele 29:1a47b7151851 10 #ifndef _INCLUDE_PICO_DNS_CLIENT
daniele 29:1a47b7151851 11 #define _INCLUDE_PICO_DNS_CLIENT
daniele 29:1a47b7151851 12
daniele 29:1a47b7151851 13 #define PICO_DNS_NS_DEL 0
daniele 29:1a47b7151851 14 #define PICO_DNS_NS_ADD 1
daniele 29:1a47b7151851 15 #include <stdint.h>
daniele 29:1a47b7151851 16
daniele 29:1a47b7151851 17 int pico_dns_client_init();
daniele 29:1a47b7151851 18 /* flag is PICO_DNS_NS_DEL or PICO_DNS_NS_ADD */
daniele 29:1a47b7151851 19 int pico_dns_client_nameserver(struct pico_ip4 *ns, uint8_t flag);
daniele 29:1a47b7151851 20 int pico_dns_client_getaddr(const char *url, void (*callback)(char *ip, void *arg), void *arg);
daniele 29:1a47b7151851 21 int pico_dns_client_getname(const char *ip, void (*callback)(char *url, void *arg), void *arg);
daniele 29:1a47b7151851 22
daniele 29:1a47b7151851 23 #endif /* _INCLUDE_PICO_DNS_CLIENT */