notify.h 1.54 KB
Newer Older
Mark Andrews's avatar
Mark Andrews committed
1
/*
Automatic Updater's avatar
Automatic Updater committed
2
 * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
Brian Wellington's avatar
Brian Wellington committed
3
 * Copyright (C) 1999-2001  Internet Software Consortium.
4
 *
Automatic Updater's avatar
Automatic Updater committed
5
 * Permission to use, copy, modify, and/or distribute this software for any
Mark Andrews's avatar
Mark Andrews committed
6 7
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
8
 *
Mark Andrews's avatar
Mark Andrews committed
9 10 11 12 13 14 15
 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 * PERFORMANCE OF THIS SOFTWARE.
Mark Andrews's avatar
Mark Andrews committed
16 17
 */

Automatic Updater's avatar
Automatic Updater committed
18
/* $Id: notify.h,v 1.16 2009/01/17 23:47:42 tbox Exp $ */
David Lawrence's avatar
David Lawrence committed
19

Mark Andrews's avatar
Mark Andrews committed
20 21 22 23 24 25 26
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1

#include <named/types.h>
#include <named/client.h>

/***
Andreas Gustafsson's avatar
Andreas Gustafsson committed
27
 ***	Module Info
Mark Andrews's avatar
Mark Andrews committed
28 29
 ***/

30 31 32
/*! \file
 * \brief
 *	RFC1996
Mark Andrews's avatar
Mark Andrews committed
33 34 35 36 37 38
 *	A Mechanism for Prompt Notification of Zone Changes (DNS NOTIFY)
 */

/***
 ***	Functions.
 ***/
Mark Andrews's avatar
Mark Andrews committed
39 40 41 42

void
ns_notify_start(ns_client_t *client);

43
/*%<
Francis Dupont's avatar
Francis Dupont committed
44
 *	Examines the incoming message to determine appropriate zone.
Mark Andrews's avatar
Mark Andrews committed
45
 *	Returns FORMERR if there is not exactly one question.
Andreas Gustafsson's avatar
Andreas Gustafsson committed
46
 *	Returns REFUSED if we do not serve the listed zone.
Mark Andrews's avatar
Mark Andrews committed
47 48 49 50
 *	Pass the message to the zone module for processing
 *	and returns the return status.
 *
 * Requires
51
 *\li	client to be valid.
Mark Andrews's avatar
Mark Andrews committed
52 53
 */

54 55
#endif /* NAMED_NOTIFY_H */