116. [func] Added <isc/offset.h> for isc_offset_t

This commit is contained in:
David Lawrence
2000-04-28 00:36:56 +00:00
parent 8b11f3debd
commit 61e9c1cdbe
6 changed files with 52 additions and 15 deletions

View File

@@ -15,13 +15,11 @@
* SOFTWARE.
*/
/* $Id: log.h,v 1.17 2000/04/27 23:44:44 tale Exp $ */
/* $Id: log.h,v 1.18 2000/04/28 00:36:55 tale Exp $ */
#ifndef ISC_LOG_H
#define ISC_LOG_H 1
#include <sys/types.h> /* XXXDCL NT; need for off_t on some systems */
#include <stdio.h>
#include <stdarg.h>
#include <syslog.h> /* XXXDCL NT */
@@ -108,8 +106,7 @@ typedef struct isc_logfile {
* anyone would want). st_size returned by fstat should be typedef'd
* to a size large enough for the largest possible file on a system.
*/
/* XXXDCL NT */
off_t maximum_size;
isc_offset_t maximum_size;
} isc_logfile_t;
/*

View File

@@ -18,8 +18,21 @@
#ifndef ISC_TYPES_H
#define ISC_TYPES_H 1
/*
* OS-specific types, from the OS-specific include directories.
*/
#include <isc/int.h>
#include <isc/offset.h>
/*
* XXXDCL should isc_boolean_t be moved here, requiring an explicit include
* of <isc/boolean.h> when ISC_TRUE/ISC_FALSE/ISC_TF() are desired?
*/
#include <isc/boolean.h>
/*
* XXXDCL This is just for ISC_LIST and ISC_LINK, but gets all of the other
* list macros too.
*/
#include <isc/list.h>
/***
@@ -30,7 +43,7 @@ typedef struct isc_bitstring isc_bitstring_t;
typedef struct isc_buffer isc_buffer_t;
typedef ISC_LIST(isc_buffer_t) isc_bufferlist_t;
typedef struct isc_event isc_event_t;
typedef ISC_LIST(struct isc_event) isc_eventlist_t;
typedef ISC_LIST(isc_event_t) isc_eventlist_t;
typedef unsigned int isc_eventtype_t;
typedef struct isc_interface isc_interface_t;
typedef struct isc_interfaceiter isc_interfaceiter_t;