]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Need error message translation for omapi as well.
authorTed Lemon <source@isc.org>
Wed, 2 May 2001 06:54:32 +0000 (06:54 +0000)
committerTed Lemon <source@isc.org>
Wed, 2 May 2001 06:54:32 +0000 (06:54 +0000)
includes/omapip/omapip_p.h
minires/Makefile.dist
omapip/Makefile.dist
omapip/toisc.c [moved from minires/toisc.c with 100% similarity]

index 0c186e4022cdc4fc968fe74a87f4f98fe1641874..d6e646aab4bb2b049a1ec116945838021e61b441 100644 (file)
@@ -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__ */
index f17a5231f6279d00026e9d9595ec668703239c0e..b6bf0889584d236e06b56b1d30fde67603f79f88 100644 (file)
@@ -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
index 335f7e9d0d971aecbb4e9b7a859cefd7baba7260..1eb1052aeaa12268d0ef5f1790d6b4d88174bb46 100644 (file)
@@ -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
similarity index 100%
rename from minires/toisc.c
rename to omapip/toisc.c