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

« back to all changes in this revision

Viewing changes to lib/lwres/include/lwres/context.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) 2000, 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: context.h,v 1.14.206.1 2004/03/06 08:15:34 marka Exp $ */
 
18
/* $Id: context.h,v 1.21 2007/06/19 23:47:23 tbox Exp $ */
19
19
 
20
20
#ifndef LWRES_CONTEXT_H
21
21
#define LWRES_CONTEXT_H 1
22
22
 
 
23
/*! \file lwres/context.h */
 
24
 
23
25
#include <stddef.h>
24
26
 
25
27
#include <lwres/lang.h>
26
28
#include <lwres/int.h>
27
29
#include <lwres/result.h>
28
30
 
29
 
/*
 
31
/*!
30
32
 * Used to set various options such as timeout, authentication, etc
31
33
 */
32
34
typedef struct lwres_context lwres_context_t;
51
53
 * Share /etc/resolv.conf data between contexts.
52
54
 */
53
55
 
54
 
/*
 
56
/*!
55
57
 * _SERVERMODE
56
58
 *      Don't allocate and connect a socket to the server, since the
57
59
 *      caller _is_ a server.
63
65
                     lwres_malloc_t malloc_function,
64
66
                     lwres_free_t free_function,
65
67
                     unsigned int flags);
66
 
/*
 
68
/**<
67
69
 * Allocate a lwres context.  This is used in all lwres calls.
68
70
 *
69
71
 * Memory management can be replaced here by passing in two functions.
75
77
 *
76
78
 * If they are NULL, the standard malloc() and free() will be used.
77
79
 *
78
 
 * Requires:
79
 
 *
80
 
 *      contextp != NULL && contextp == NULL.
81
 
 *
82
 
 * Returns:
83
 
 *
84
 
 *      Returns 0 on success, non-zero on failure.
 
80
 *\pre  contextp != NULL && contextp == NULL.
 
81
 *
 
82
 *\return       Returns 0 on success, non-zero on failure.
85
83
 */
86
84
 
87
85
void
88
86
lwres_context_destroy(lwres_context_t **contextp);
89
 
/*
 
87
/**<
90
88
 * Frees all memory associated with a lwres context.
91
89
 *
92
 
 * Requires:
93
 
 *
94
 
 *      contextp != NULL && contextp == NULL.
 
90
 *\pre  contextp != NULL && contextp == NULL.
95
91
 */
96
92
 
97
93
lwres_uint32_t
98
94
lwres_context_nextserial(lwres_context_t *ctx);
99
 
/*
 
95
/**<
100
96
 * XXXMLG Document
101
97
 */
102
98