From: Ted Lemon Date: Wed, 2 May 2001 06:54:32 +0000 (+0000) Subject: Need error message translation for omapi as well. X-Git-Tag: V3-RC5~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29fb0a112be283a1098dcf5b8c398738ac502b30;p=thirdparty%2Fdhcp.git Need error message translation for omapi as well. --- diff --git a/includes/omapip/omapip_p.h b/includes/omapip/omapip_p.h index 0c186e402..d6e646aab 100644 --- a/includes/omapip/omapip_p.h +++ b/includes/omapip/omapip_p.h @@ -291,4 +291,7 @@ int log_info (const char *, ...) int log_debug (const char *, ...) __attribute__((__format__(__printf__,1,2))); void do_percentm (char *obuf, const char *ibuf); + +isc_result_t uerr2isc (int); +isc_result_t ns_rcode_to_isc (int); #endif /* __OMAPIP_OMAPIP_P_H__ */ diff --git a/minires/Makefile.dist b/minires/Makefile.dist index f17a5231f..b6bf08895 100644 --- a/minires/Makefile.dist +++ b/minires/Makefile.dist @@ -22,12 +22,10 @@ SEDMANPAGES = dhcpctl.man3 MAN = dhcpctl.3 SRC = res_mkupdate.c res_init.c res_update.c res_send.c res_comp.c \ res_sendsigned.c res_findzonecut.c res_query.c res_mkquery.c \ - ns_date.c ns_parse.c ns_sign.c ns_name.c ns_samedomain.c ns_verify.c \ - toisc.c + ns_date.c ns_parse.c ns_sign.c ns_name.c ns_samedomain.c ns_verify.c OBJ = res_mkupdate.o res_init.o res_update.o res_send.o res_comp.o \ res_sendsigned.o res_findzonecut.o res_query.o res_mkquery.o \ - ns_date.o ns_parse.o ns_sign.o ns_name.o ns_samedomain.o ns_verify.o \ - toisc.o + ns_date.o ns_parse.o ns_sign.o ns_name.o ns_samedomain.o ns_verify.o INCLUDES = $(BINDINC) -I$(TOP)/includes CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) -DHMAC_MD5 -DMINIRES_LIB diff --git a/omapip/Makefile.dist b/omapip/Makefile.dist index 335f7e9d0..1eb1052ae 100644 --- a/omapip/Makefile.dist +++ b/omapip/Makefile.dist @@ -21,10 +21,14 @@ CATMANPAGES = omapi.cat3 SEDMANPAGES = omapi.man3 SRC = protocol.c buffer.c alloc.c result.c connection.c errwarn.c \ listener.c dispatch.c generic.c support.c handle.c message.c \ - convert.c hash.c auth.c inet_addr.c array.c trace.c mrtrace.c + convert.c hash.c auth.c inet_addr.c array.c trace.c mrtrace.c \ + toisc.c + OBJ = protocol.o buffer.o alloc.o result.o connection.o errwarn.o \ listener.o dispatch.o generic.o support.o handle.o message.o \ - convert.o hash.o auth.o inet_addr.o array.o trace.o mrtrace.o + convert.o hash.o auth.o inet_addr.o array.o trace.o mrtrace.o \ + toisc.o + MAN = omapi.3 INCLUDES = $(BINDINC) -I$(TOP)/includes diff --git a/minires/toisc.c b/omapip/toisc.c similarity index 100% rename from minires/toisc.c rename to omapip/toisc.c