~ubuntu-branches/ubuntu/maverick/bind9/maverick

« back to all changes in this revision

Viewing changes to lib/dns/include/dns/nsec.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, LaMont Jones, Internet Software Consortium, Inc, localization folks
  • Date: 2008-08-02 14:20:20 UTC
  • mfrom: (1.2.1 upstream) (6.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802142020-l1hon9jy8lbbjxmg
[LaMont Jones]

* default to using resolvconf if it is installed
* fix sonames and dependencies.  Closes: #149259, #492418
* Do not build-depend libcap2-dev on non-linux.  Closes: #493392
* drop unused query-loc manpage.  Closes: #492564
* lwresd: Deliver /etc/bind directory.  Closes: #490027
* fix query-source comment in default install

[Internet Software Consortium, Inc]

* 9.5.0-P2.  Closes: #492949

[localization folks]

* l10n: Spanish debconf translation.  Closes: #492425 (Ignacio Mondino)
* l10n: Swedish debconf templates.  Closes: #491369 (Martin Ågren)
* l10n: Japanese debconf translations.  Closes: #492048 (Hideki Yamane
  (Debian-JP))
* l10n: Finnish translation.  Closes: #490630 (Esko Arajärvi)
* l10n: Italian debconf translations.  Closes: #492587 (Alessandro Vietta)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
 
2
 * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
3
3
 * Copyright (C) 1999-2001, 2003  Internet Software Consortium.
4
4
 *
5
 
 * Permission to use, copy, modify, and distribute this software for any
 
5
 * Permission to use, copy, modify, and/or distribute this software for any
6
6
 * purpose with or without fee is hereby granted, provided that the above
7
7
 * copyright notice and this permission notice appear in all copies.
8
8
 *
15
15
 * PERFORMANCE OF THIS SOFTWARE.
16
16
 */
17
17
 
18
 
/* $Id: nsec.h,v 1.4.2.1 2004/03/08 02:08:00 marka Exp $ */
 
18
/* $Id: nsec.h,v 1.10 2007/06/19 23:47:17 tbox Exp $ */
19
19
 
20
20
#ifndef DNS_NSEC_H
21
21
#define DNS_NSEC_H 1
22
22
 
 
23
/*! \file dns/nsec.h */
 
24
 
23
25
#include <isc/lang.h>
24
26
 
25
27
#include <dns/types.h>
33
35
dns_nsec_buildrdata(dns_db_t *db, dns_dbversion_t *version,
34
36
                    dns_dbnode_t *node, dns_name_t *target,
35
37
                    unsigned char *buffer, dns_rdata_t *rdata);
36
 
/*
 
38
/*%<
37
39
 * Build the rdata of a NSEC record.
38
40
 *
39
41
 * Requires:
40
 
 *      buffer  Points to a temporary buffer of at least
 
42
 *\li   buffer  Points to a temporary buffer of at least
41
43
 *              DNS_NSEC_BUFFERSIZE bytes.
42
 
 *      rdata   Points to an initialized dns_rdata_t.
 
44
 *\li   rdata   Points to an initialized dns_rdata_t.
43
45
 *
44
46
 * Ensures:
45
 
 *      *rdata  Contains a valid NSEC rdata.  The 'data' member refers
 
47
 *  \li    *rdata       Contains a valid NSEC rdata.  The 'data' member refers
46
48
 *              to 'buffer'.
47
49
 */
48
50
 
49
51
isc_result_t
50
52
dns_nsec_build(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node,
51
53
               dns_name_t *target, dns_ttl_t ttl);
52
 
/*
 
54
/*%<
53
55
 * Build a NSEC record and add it to a database.
54
56
 */
55
57
 
56
58
isc_boolean_t
57
59
dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type);
58
 
/*
 
60
/*%<
59
61
 * Determine if a type is marked as present in an NSEC record.
60
62
 *
61
63
 * Requires:
62
 
 *      'nsec' points to a valid rdataset of type NSEC
 
64
 *\li   'nsec' points to a valid rdataset of type NSEC
63
65
 */
64
66
 
65
67
ISC_LANG_ENDDECLS