Commit 0f7045b0 authored by Andreas Gustafsson's avatar Andreas Gustafsson

moved a few more typedefs to <isc/types.h>: isc_region_t,

isc_textregion_t, isc_lex_t
parent e9da40a7
39. [cleanup] Moved the typedefs for isc_region_t, isc_textregion_t,
and isc_lex_t to <isc/types.h>.
38. [bug] TSIG signed incoming zone transfers work now.
37. [bug] If the first RR in an incoming zone transfer was
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: confkeys.c,v 1.18 2000/04/07 13:35:04 brister Exp $ */
/* $Id: confkeys.c,v 1.19 2000/04/10 21:52:31 gson Exp $ */
#include <config.h>
......@@ -23,6 +23,7 @@
#include <isc/assertions.h>
#include <isc/magic.h>
#include <isc/mem.h>
#include <dns/result.h>
#include <dns/confkeys.h>
......
......@@ -21,6 +21,9 @@
#include <isc/assertions.h>
#include <isc/buffer.h>
#include <isc/mem.h>
#include <isc/region.h>
#include <isc/result.h>
void
isc_buffer_init(isc_buffer_t *b, void *base, unsigned int length,
......
......@@ -15,14 +15,12 @@
* SOFTWARE.
*/
/* $Id: base64.h,v 1.5 2000/04/10 21:35:48 gson Exp $ */
/* $Id: base64.h,v 1.6 2000/04/10 21:52:31 gson Exp $ */
#ifndef ISC_BASE64_H
#define ISC_BASE64_H 1
#include <isc/lang.h>
#include <isc/lex.h>
#include <isc/region.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS
......
......@@ -103,9 +103,6 @@
#include <isc/lang.h>
#include <isc/list.h>
#include <isc/mem.h>
#include <isc/region.h>
#include <isc/int.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS
......
......@@ -104,8 +104,6 @@ ISC_LANG_BEGINDECLS
/* Lex */
typedef struct isc_lex isc_lex_t;
typedef char isc_lexspecials_t[256];
/* Tokens */
......
......@@ -19,18 +19,19 @@
#define ISC_REGION_H 1
#include <isc/lang.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS
typedef struct isc_region {
struct isc_region {
unsigned char * base;
unsigned int length;
} isc_region_t;
};
typedef struct isc_textregion {
struct isc_textregion {
char * base;
unsigned int length;
} isc_textregion_t;
};
/*
* The region structure is not opaque, and is usually directly manipulated.
......
......@@ -49,6 +49,9 @@ typedef struct isc_log isc_log_t;
typedef struct isc_logconfig isc_logconfig_t;
typedef struct isc_logcategory isc_logcategory_t;
typedef struct isc_logmodule isc_logmodule_t;
typedef struct isc_region isc_region_t;
typedef struct isc_textregion isc_textregion_t;
typedef struct isc_lex isc_lex_t;
typedef void (*isc_taskaction_t)(isc_task_t *, isc_event_t *);
......
......@@ -22,11 +22,12 @@
#include <string.h>
#include <stdio.h>
#include <isc/types.h>
#include <isc/assertions.h>
#include <isc/error.h>
#include <isc/sockaddr.h>
#include <isc/netaddr.h>
#include <isc/region.h>
#include <isc/sockaddr.h>
#include <isc/types.h>
isc_boolean_t
isc_sockaddr_equal(const isc_sockaddr_t *a, const isc_sockaddr_t *b)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment