summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-05-02 06:54:32 +0000
committerTed Lemon <source@isc.org>2001-05-02 06:54:32 +0000
commit29fb0a112be283a1098dcf5b8c398738ac502b30 (patch)
tree02e8370ef36d42defb3353253fa1ee47529bed05
parente448718d7ce1a2e73254fb6dff74d9542894b91b (diff)
downloadisc-dhcp-29fb0a112be283a1098dcf5b8c398738ac502b30.tar.gz
Need error message translation for omapi as well.
-rw-r--r--includes/omapip/omapip_p.h3
-rw-r--r--minires/Makefile.dist6
-rw-r--r--omapip/Makefile.dist8
-rw-r--r--omapip/toisc.c (renamed from minires/toisc.c)0
4 files changed, 11 insertions, 6 deletions
diff --git a/includes/omapip/omapip_p.h b/includes/omapip/omapip_p.h
index 0c186e40..d6e646aa 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 f17a5231..b6bf0889 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 335f7e9d..1eb1052a 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
index 1823c4a7..1823c4a7 100644
--- a/minires/toisc.c
+++ b/omapip/toisc.c