update to 9.7.1-P2
[tridge/bind9.git] / lib / dns / rdata / in_1 / dhcid_49.c
index 27c4e4e23eb4520adbfa31e98d1b3bde8c17cbb6..0749272b42e0abdd47cacdce49384c36ec063084 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dhcid_49.c,v 1.5 2007/06/19 23:47:17 tbox Exp $ */
+/* $Id: dhcid_49.c,v 1.7 2009/12/04 22:06:37 tbox Exp $ */
 
 /* RFC 4701 */
 
@@ -51,7 +51,7 @@ totext_in_dhcid(ARGS_TOTEXT) {
        dns_rdata_toregion(rdata, &sr);
 
        if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
-               RETERR(str_totext("( " /*)*/, target)); 
+               RETERR(str_totext("( " /*)*/, target));
        RETERR(isc_base64_totext(&sr, tctx->width - 2, tctx->linebreak,
                                 target));
        if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) {
@@ -226,4 +226,9 @@ checknames_in_dhcid(ARGS_CHECKNAMES) {
        return (ISC_TRUE);
 }
 
+static inline int
+casecompare_in_dhcid(ARGS_COMPARE) {
+       return (compare_in_dhcid(rdata1, rdata2));
+}
+
 #endif /* RDATA_IN_1_DHCID_49_C */