types.h revision b99bfa184bc9375421b5df915eea7dfac6a68a99
/*
* Copyright (C) 2004-2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id$ */
#ifndef ISC_TYPES_H
#define ISC_TYPES_H 1
* \brief
* OS-specific types, from the OS-specific include directories.
*/
/*
* XXXDCL should isc_boolean_t be moved here, requiring an explicit include
*/
/*
* XXXDCL This is just for ISC_LIST and ISC_LINK, but gets all of the other
* list macros too.
*/
/* Core Types. Alphabetized by defined type. */
typedef unsigned int isc_eventtype_t; /*%< Event Type */
typedef void (isc_httpdondestroy_t)(void *); /*%< Callback on destroying httpd */
typedef unsigned int isc_result_t; /*%< Result */
typedef int isc_statscounter_t; /*%< Statistics Counter */
/* The following cannot be listed alphabetically due to forward reference */
const char *querystring,
void *arg,
unsigned int *retcode,
const char **retmsg,
const char **mimetype,
void **freecb_args);
/*% Resource */
typedef enum {
/*% Statistics formats (text file or XML) */
typedef enum {
#endif /* ISC_TYPES_H */