1135446Strhodes/*
2193149Sdougb * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
3135446Strhodes * Copyright (C) 1999-2001  Internet Software Consortium.
4135446Strhodes *
5193149Sdougb * Permission to use, copy, modify, and/or distribute this software for any
6135446Strhodes * purpose with or without fee is hereby granted, provided that the above
7135446Strhodes * copyright notice and this permission notice appear in all copies.
8135446Strhodes *
9135446Strhodes * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10135446Strhodes * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11135446Strhodes * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12135446Strhodes * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13135446Strhodes * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14135446Strhodes * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15135446Strhodes * PERFORMANCE OF THIS SOFTWARE.
16135446Strhodes */
17135446Strhodes
18234010Sdougb/* $Id: notify.h,v 1.16 2009/01/17 23:47:42 tbox Exp $ */
19135446Strhodes
20135446Strhodes#ifndef NAMED_NOTIFY_H
21135446Strhodes#define NAMED_NOTIFY_H 1
22135446Strhodes
23135446Strhodes#include <named/types.h>
24135446Strhodes#include <named/client.h>
25135446Strhodes
26135446Strhodes/***
27135446Strhodes ***	Module Info
28135446Strhodes ***/
29135446Strhodes
30170222Sdougb/*! \file
31170222Sdougb * \brief
32170222Sdougb *	RFC1996
33135446Strhodes *	A Mechanism for Prompt Notification of Zone Changes (DNS NOTIFY)
34135446Strhodes */
35135446Strhodes
36135446Strhodes/***
37135446Strhodes ***	Functions.
38135446Strhodes ***/
39135446Strhodes
40135446Strhodesvoid
41135446Strhodesns_notify_start(ns_client_t *client);
42135446Strhodes
43170222Sdougb/*%<
44193149Sdougb *	Examines the incoming message to determine appropriate zone.
45135446Strhodes *	Returns FORMERR if there is not exactly one question.
46135446Strhodes *	Returns REFUSED if we do not serve the listed zone.
47135446Strhodes *	Pass the message to the zone module for processing
48135446Strhodes *	and returns the return status.
49135446Strhodes *
50135446Strhodes * Requires
51170222Sdougb *\li	client to be valid.
52135446Strhodes */
53135446Strhodes
54135446Strhodes#endif /* NAMED_NOTIFY_H */
55135446Strhodes
56