efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2000, 2001, 2004, 2005, 2007-2009, 2016 Internet Systems Consortium, Inc. ("ISC")
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington */
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington
d7201de09b85929a86b157f4b2d91667c68c6b52Automatic Updater/* $Id: socket_p.h,v 1.15 2009/09/02 23:48:03 tbox Exp $ */
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington#ifndef ISC_SOCKET_P_H
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington#define ISC_SOCKET_P_H
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/*! \file */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
363cb30a83e8e57bc8874e621910f0e23dd84909Mark Andrews#ifdef ISC_PLATFORM_NEEDSYSSELECTH
9a6573e16bfa636caca3fe6a0c12322c74ad8d9cMark Andrews#include <sys/select.h>
363cb30a83e8e57bc8874e621910f0e23dd84909Mark Andrews#endif
363cb30a83e8e57bc8874e621910f0e23dd84909Mark Andrews
386d3a99c190bad55edf44d076e6bd087e230ab8Tatuya JINMEI 神明達哉typedef struct isc_socketwait isc_socketwait_t;
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉int isc__socketmgr_waitevents(isc_socketmgr_t *, struct timeval *,
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 isc_socketwait_t **);
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉isc_result_t isc__socketmgr_dispatch(isc_socketmgr_t *, isc_socketwait_t *);
efafe4fa7f495283af3f9b6699a5a748088bc51eBrian Wellington#endif /* ISC_SOCKET_P_H */