1 /*	$NetBSD: notify.h,v 1.4 2014/12/10 04:37:52 christos Exp $	*/
2 
3 /*
4  * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
5  * Copyright (C) 1999-2001  Internet Software Consortium.
6  *
7  * Permission to use, copy, modify, and/or distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 /* Id: notify.h,v 1.16 2009/01/17 23:47:42 tbox Exp  */
21 
22 #ifndef NAMED_NOTIFY_H
23 #define NAMED_NOTIFY_H 1
24 
25 #include <named/types.h>
26 #include <named/client.h>
27 
28 /***
29  ***	Module Info
30  ***/
31 
32 /*! \file
33  * \brief
34  *	RFC1996
35  *	A Mechanism for Prompt Notification of Zone Changes (DNS NOTIFY)
36  */
37 
38 /***
39  ***	Functions.
40  ***/
41 
42 void
43 ns_notify_start(ns_client_t *client);
44 
45 /*%<
46  *	Examines the incoming message to determine appropriate zone.
47  *	Returns FORMERR if there is not exactly one question.
48  *	Returns REFUSED if we do not serve the listed zone.
49  *	Pass the message to the zone module for processing
50  *	and returns the return status.
51  *
52  * Requires
53  *\li	client to be valid.
54  */
55 
56 #endif /* NAMED_NOTIFY_H */
57 
58