~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to lib/dns/include/dns/cert.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  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: cert.h,v 1.12.206.1 2004/03/06 08:13:51 marka Exp $ */
 
18
/* $Id: cert.h,v 1.19 2007/06/19 23:47:16 tbox Exp $ */
19
19
 
20
20
#ifndef DNS_CERT_H
21
21
#define DNS_CERT_H 1
22
22
 
 
23
/*! \file dns/cert.h */
 
24
 
23
25
#include <isc/lang.h>
24
26
 
25
27
#include <dns/types.h>
28
30
 
29
31
isc_result_t
30
32
dns_cert_fromtext(dns_cert_t *certp, isc_textregion_t *source);
31
 
/*
 
33
/*%<
32
34
 * Convert the text 'source' refers to into a certificate type.
33
35
 * The text may contain either a mnemonic type name or a decimal type number.
34
36
 *
35
37
 * Requires:
36
 
 *      'certp' is a valid pointer.
 
38
 *\li   'certp' is a valid pointer.
37
39
 *
38
 
 *      'source' is a valid text region.
 
40
 *\li   'source' is a valid text region.
39
41
 *
40
42
 * Returns:
41
 
 *      ISC_R_SUCCESS                   on success
42
 
 *      ISC_R_RANGE                     numeric type is out of range
43
 
 *      DNS_R_UNKNOWN                   mnemonic type is unknown
 
43
 *\li   #ISC_R_SUCCESS                  on success
 
44
 *\li   #ISC_R_RANGE                    numeric type is out of range
 
45
 *\li   #DNS_R_UNKNOWN                  mnemonic type is unknown
44
46
 */
45
47
 
46
48
isc_result_t
47
49
dns_cert_totext(dns_cert_t cert, isc_buffer_t *target);
48
 
/*
 
50
/*%<
49
51
 * Put a textual representation of certificate type 'cert' into 'target'.
50
52
 *
51
53
 * Requires:
52
 
 *      'cert' is a valid cert.
 
54
 *\li   'cert' is a valid cert.
53
55
 *
54
 
 *      'target' is a valid text buffer.
 
56
 *\li   'target' is a valid text buffer.
55
57
 *
56
58
 * Ensures:
57
 
 *      If the result is success:
 
59
 *\li   If the result is success:
58
60
 *              The used space in 'target' is updated.
59
61
 *
60
62
 * Returns:
61
 
 *      ISC_R_SUCCESS                   on success
62
 
 *      ISC_R_NOSPACE                   target buffer is too small
 
63
 *\li   #ISC_R_SUCCESS                  on success
 
64
 *\li   #ISC_R_NOSPACE                  target buffer is too small
63
65
 */
64
66
 
65
67
ISC_LANG_ENDDECLS