1 /*
2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3  *
4  * SPDX-License-Identifier: MPL-2.0
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
9  *
10  * See the COPYRIGHT file distributed with this work for additional
11  * information regarding copyright ownership.
12  */
13 
14 #ifndef NS_NOTIFY_H
15 #define NS_NOTIFY_H 1
16 
17 #include <ns/client.h>
18 
19 /***
20  ***	Module Info
21  ***/
22 
23 /*! \file
24  * \brief
25  *	RFC1996
26  *	A Mechanism for Prompt Notification of Zone Changes (DNS NOTIFY)
27  */
28 
29 /***
30  ***	Functions.
31  ***/
32 
33 void
34 ns_notify_start(ns_client_t *client, isc_nmhandle_t *handle);
35 
36 /*%<
37  *	Examines the incoming message to determine appropriate zone.
38  *	Returns FORMERR if there is not exactly one question.
39  *	Returns REFUSED if we do not serve the listed zone.
40  *	Pass the message to the zone module for processing
41  *	and returns the return status.
42  *
43  * Requires
44  *\li	client to be valid.
45  */
46 
47 #endif /* NS_NOTIFY_H */
48