1*4afad4b7Schristos /* $NetBSD: socket_p.h,v 1.1 2024/02/18 20:57:57 christos Exp $ */ 2*4afad4b7Schristos 3*4afad4b7Schristos /* 4*4afad4b7Schristos * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5*4afad4b7Schristos * 6*4afad4b7Schristos * SPDX-License-Identifier: MPL-2.0 7*4afad4b7Schristos * 8*4afad4b7Schristos * This Source Code Form is subject to the terms of the Mozilla Public 9*4afad4b7Schristos * License, v. 2.0. If a copy of the MPL was not distributed with this 10*4afad4b7Schristos * file, you can obtain one at https://mozilla.org/MPL/2.0/. 11*4afad4b7Schristos * 12*4afad4b7Schristos * See the COPYRIGHT file distributed with this work for additional 13*4afad4b7Schristos * information regarding copyright ownership. 14*4afad4b7Schristos */ 15*4afad4b7Schristos 16*4afad4b7Schristos #ifndef ISC_SOCKET_P_H 17*4afad4b7Schristos #define ISC_SOCKET_P_H 18*4afad4b7Schristos 19*4afad4b7Schristos /*! \file */ 20*4afad4b7Schristos 21*4afad4b7Schristos #include <sys/time.h> 22*4afad4b7Schristos 23*4afad4b7Schristos typedef struct isc_socketwait isc_socketwait_t; 24*4afad4b7Schristos int 25*4afad4b7Schristos isc__socketmgr_waitevents(isc_socketmgr_t *, struct timeval *, 26*4afad4b7Schristos isc_socketwait_t **); 27*4afad4b7Schristos isc_result_t 28*4afad4b7Schristos isc__socketmgr_dispatch(isc_socketmgr_t *, isc_socketwait_t *); 29*4afad4b7Schristos #endif /* ISC_SOCKET_P_H */ 30