00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include "dhcpd.h"
00029
00030
00031
00032
00033
00034
00035
00036 static const char *text[DHCP_R_NRESULTS] = {
00037 "host unknown",
00038 "protocol version mismatch",
00039 "protocol error",
00040 "invalid argument",
00041 "data not yet available",
00042 "object unchanged",
00043 "more than one object matches key",
00044 "key conflict",
00045 "parse error(s) occurred",
00046 "no key specified",
00047 "zone TSIG key not known",
00048 "invalid TSIG key",
00049 "operation in progress",
00050 "DNS format error",
00051 "DNS server failed",
00052 "no such domain",
00053 "not implemented",
00054 "refused",
00055 "domain already exists",
00056 "RRset already exists",
00057 "no such RRset",
00058 "not authorized",
00059 "not a zone",
00060 "bad DNS signature",
00061 "bad DNS key",
00062 "clock skew too great",
00063 "no root zone",
00064 "destination address required",
00065 "cross-zone update",
00066 "no TSIG signature",
00067 "not equal",
00068 "connection reset by peer",
00069 "unknown attribute"
00070 };
00071
00072 #define DHCP_RESULT_RESULTSET 2
00073 #define DHCP_RESULT_UNAVAILABLESET 3
00074
00075
00076 isc_msgcat_t * dhcp_msgcat = NULL;
00077
00078 isc_result_t
00079 dhcp_result_register(void) {
00080 isc_result_t result;
00081
00082 result = isc_result_register(ISC_RESULTCLASS_DHCP, DHCP_R_NRESULTS,
00083 text, dhcp_msgcat, DHCP_RESULT_RESULTSET);
00084
00085 return(result);
00086 }