lwresd.h revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2000, 2001, 2004-2007, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: lwresd.h,v 1.19 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LWRESD_H
#define NAMED_LWRESD_H 1
/*! \file */
#include <isc/sockaddr.h>
struct ns_lwresd {
unsigned int magic;
unsigned int ndots;
unsigned int ntasks;
unsigned int nclients;
unsigned int refs;
};
struct ns_lwreslistener {
unsigned int magic;
unsigned int refs;
};
/*%
* Configure lwresd.
*/
/*%
* Trigger shutdown.
*/
void
ns_lwresd_shutdown(void);
/*
* Manager functions
*/
/*% create manager */
ns_lwresd_t **lwresdp);
/*% attach to manager */
void
/*% detach from manager */
void
/*
* Listener functions
*/
/*% attach to listener */
void
/*% detach from lister */
void
/*% link client manager */
void
/*% unlink client manager */
void
/*
* INTERNAL FUNCTIONS.
*/
void *
void
#endif /* NAMED_LWRESD_H */