2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

110. [cleanup] <isc/result.h> does not need <isc/boolean.h> or

<isc/list.h>.
This commit is contained in:
David Lawrence
2000-04-27 22:48:57 +00:00
parent bd9d42a1a9
commit 0c33e418cb
2 changed files with 14 additions and 10 deletions

View File

@@ -1,3 +1,6 @@
110. [cleanup] <isc/result.h> does not need <isc/boolean.h> or
<isc/list.h>.
109. [bug] "make depend" did nothing for
bin/tests/{db,mem,sockaddr,tasks,timers}/.

View File

@@ -18,13 +18,9 @@
#ifndef ISC_RESULT_H
#define ISC_RESULT_H 1
#include <isc/boolean.h>
#include <isc/lang.h>
#include <isc/list.h>
#include <isc/types.h>
ISC_LANG_BEGINDECLS
#define ISC_R_SUCCESS 0
#define ISC_R_NOMEMORY 1
#define ISC_R_TIMEDOUT 2
@@ -66,12 +62,17 @@ ISC_LANG_BEGINDECLS
#define ISC_R_NRESULTS 38 /* Number of results */
char * isc_result_totext(isc_result_t);
isc_result_t isc_result_register(unsigned int base,
unsigned int nresults,
char **text,
isc_msgcat_t *msgcat,
int set);
ISC_LANG_BEGINDECLS
char *
isc_result_totext(isc_result_t);
/*
* Convert an isc_result_t into a string message describing the result.
*/
isc_result_t
isc_result_register(unsigned int base, unsigned int nresults, char **text,
isc_msgcat_t *msgcat, int set);
ISC_LANG_ENDDECLS