Path: blob/main/crypto/openssl/ssl/rio/poll_method.h
101171 views
/*1* Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/8#ifndef OSSL_POLL_METHOD_H9#define OSSL_POLL_METHOD_H1011#include "internal/common.h"12#include "internal/sockets.h"1314#define RIO_POLL_METHOD_SELECT 115#define RIO_POLL_METHOD_POLL 216#define RIO_POLL_METHOD_NONE 31718#ifndef RIO_POLL_METHOD19#if defined(OPENSSL_SYS_UEFI)20#define RIO_POLL_METHOD RIO_POLL_METHOD_NONE21#elif !defined(OPENSSL_SYS_WINDOWS) && defined(POLLIN)22#define RIO_POLL_METHOD RIO_POLL_METHOD_POLL23#else24#define RIO_POLL_METHOD RIO_POLL_METHOD_SELECT25#endif26#endif2728#endif293031