Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / libbind / dist / include / isc / misc.h
blob6e161b1b2342ac230b84abbc618b779088fef870
1 /* $NetBSD$ */
3 /*
4 * Copyright (C) 2004, 2005, 2008 Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (C) 1995-2001, 2003 Internet Software Consortium.
7 * Permission to use, copy, modify, and/or distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 * PERFORMANCE OF THIS SOFTWARE.
21 * Id: misc.h,v 1.7 2008/11/14 02:36:51 marka Exp
24 #ifndef _ISC_MISC_H
25 #define _ISC_MISC_H
27 /*! \file */
29 #include <stdio.h>
30 #include <sys/types.h>
32 #define bitncmp __bitncmp
33 /*#define isc_movefile __isc_movefile */
35 extern int bitncmp(const void *, const void *, int);
36 extern int isc_movefile(const char *, const char *);
38 extern int isc_gethexstring(unsigned char *, size_t, int, FILE *,
39 int *);
40 extern void isc_puthexstring(FILE *, const unsigned char *, size_t,
41 size_t, size_t, const char *);
42 extern void isc_tohex(const unsigned char *, size_t, char *);
44 #endif /*_ISC_MISC_H*/
46 /*! \file */