~ubuntu-branches/ubuntu/lucid/bind9/lucid

« back to all changes in this revision

Viewing changes to lib/dns/rdata/generic/rp_17.c

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2010-03-01 20:51:23 UTC
  • mfrom: (1.6.4 upstream) (10.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20100301205123-kslpwaipx72vq1o1
Tags: 1:9.7.0.dfsg-1~build1
upload of -1 to lucid, LP#530107

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 1999-2001  Internet Software Consortium.
4
4
 *
5
5
 * Permission to use, copy, modify, and/or distribute this software for any
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: rp_17.c,v 1.42 2007/06/19 23:47:17 tbox Exp $ */
 
18
/* $Id: rp_17.c,v 1.44 2009/12/04 22:06:37 tbox Exp $ */
19
19
 
20
20
/* RFC1183 */
21
21
 
93
93
 
94
94
static inline isc_result_t
95
95
fromwire_rp(ARGS_FROMWIRE) {
96
 
        dns_name_t rmail;
97
 
        dns_name_t email;
 
96
        dns_name_t rmail;
 
97
        dns_name_t email;
98
98
 
99
99
        REQUIRE(type == 17);
100
100
 
103
103
 
104
104
        dns_decompress_setmethods(dctx, DNS_COMPRESS_NONE);
105
105
 
106
 
        dns_name_init(&rmail, NULL);
107
 
        dns_name_init(&email, NULL);
 
106
        dns_name_init(&rmail, NULL);
 
107
        dns_name_init(&email, NULL);
108
108
 
109
 
        RETERR(dns_name_fromwire(&rmail, source, dctx, options, target));
110
 
        return (dns_name_fromwire(&email, source, dctx, options, target));
 
109
        RETERR(dns_name_fromwire(&rmail, source, dctx, options, target));
 
110
        return (dns_name_fromwire(&email, source, dctx, options, target));
111
111
}
112
112
 
113
113
static inline isc_result_t
311
311
        return (ISC_TRUE);
312
312
}
313
313
 
 
314
static inline int
 
315
casecompare_rp(ARGS_COMPARE) {
 
316
        return (compare_rp(rdata1, rdata2));
 
317
}
314
318
#endif  /* RDATA_GENERIC_RP_17_C */