Commit 0c33e418 authored by David Lawrence's avatar David Lawrence
Browse files

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

                        <isc/list.h>.
parent bd9d42a1
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}/.
......
......@@ -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
......
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