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

« back to all changes in this revision

Viewing changes to bin/named/include/named/control.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) 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: control.h,v 1.6.2.2.2.7 2004/09/03 03:43:32 marka Exp $ */
 
18
/* $Id: control.h,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
19
19
 
20
20
#ifndef NAMED_CONTROL_H
21
21
#define NAMED_CONTROL_H 1
22
22
 
23
 
/*
 
23
/*! \file
 
24
 * \brief
24
25
 * The name server command channel.
25
26
 */
26
27
 
27
28
#include <isccc/types.h>
28
29
 
29
 
#include <named/aclconf.h>
 
30
#include <isccfg/aclconf.h>
 
31
 
30
32
#include <named/types.h>
31
33
 
32
34
#define NS_CONTROL_PORT                 953
45
47
#define NS_COMMAND_FLUSH        "flush"
46
48
#define NS_COMMAND_FLUSHNAME    "flushname"
47
49
#define NS_COMMAND_STATUS       "status"
 
50
#define NS_COMMAND_TSIGLIST     "tsig-list"
 
51
#define NS_COMMAND_TSIGDELETE   "tsig-delete"
48
52
#define NS_COMMAND_FREEZE       "freeze"
49
53
#define NS_COMMAND_UNFREEZE     "unfreeze"
50
54
#define NS_COMMAND_THAW         "thaw"
 
55
#define NS_COMMAND_TIMERPOKE    "timerpoke"
51
56
#define NS_COMMAND_RECURSING    "recursing"
52
57
#define NS_COMMAND_NULL         "null"
 
58
#define NS_COMMAND_NOTIFY       "notify"
 
59
#define NS_COMMAND_VALIDATION   "validation"
53
60
 
54
61
isc_result_t
55
62
ns_controls_create(ns_server_t *server, ns_controls_t **ctrlsp);
56
 
/*
 
63
/*%<
57
64
 * Create an initial, empty set of command channels for 'server'.
58
65
 */
59
66
 
60
67
void
61
68
ns_controls_destroy(ns_controls_t **ctrlsp);
62
 
/*
 
69
/*%<
63
70
 * Destroy a set of command channels.
64
71
 *
65
72
 * Requires:
67
74
 */
68
75
 
69
76
isc_result_t
70
 
ns_controls_configure(ns_controls_t *controls, cfg_obj_t *config,
71
 
                      ns_aclconfctx_t *aclconfctx);
72
 
/*
 
77
ns_controls_configure(ns_controls_t *controls, const cfg_obj_t *config,
 
78
                      cfg_aclconfctx_t *aclconfctx);
 
79
/*%<
73
80
 * Configure zero or more command channels into 'controls'
74
81
 * as defined in the configuration parse tree 'config'.
75
82
 * The channels will evaluate ACLs in the context of
78
85
 
79
86
void
80
87
ns_controls_shutdown(ns_controls_t *controls);
81
 
/*
 
88
/*%<
82
89
 * Initiate shutdown of all the command channels in 'controls'.
83
90
 */
84
91