File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / coova-chilli / src / dns.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:48:25 2012 UTC (13 years, 1 month ago) by misho
Branches: coova-chilli, MAIN
CVS tags: v1_0_12, HEAD
coova-chilli

    1: /*
    2:  * DNS library functions
    3:  * Copyright (c) 2006-2007 David Bird <david@coova.com>
    4:  *
    5:  * The contents of this file may be used under the terms of the GNU
    6:  * General Public License Version 2, provided that the above copyright
    7:  * notice and this permission notice is included in all copies or
    8:  * substantial portions of the software.
    9:  *
   10:  */
   11: 
   12: #ifndef _DNS_H
   13: #define _DNS_H
   14: 
   15: #include "system.h"
   16: 
   17: char * dns_fullname(char *data, size_t dlen, uint8_t *res, uint8_t *opkt, size_t olen, int lvl);
   18: 
   19: int dns_copy_res(int q, 
   20: 		 uint8_t **pktp, size_t *left, 
   21: 		 uint8_t *opkt, size_t olen,
   22: 		 char *question, size_t qsize);
   23: 
   24: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>