⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.23
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
src
/
libmemcached-1.0.18
/
libmemcached
/
View File Name :
poll.h
/* LibMemcached * Copyright (C) 2013 Data Differential, http://datadifferential.com/ * Copyright (C) 2010 Brian Aker, Trond Norbye * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. * * Summary: Implementation of poll by using select * */ #pragma once #if defined(_WIN32) #include <winsock2.h> #ifdef __cplusplus extern "C" { #endif typedef struct pollfd { #if defined(_WIN32) SOCKET fd; #else int fd; #endif short events; short revents; } pollfd_t; typedef int nfds_t; #define POLLIN 0x0001 #define POLLOUT 0x0004 #define POLLERR 0x0008 #define POLLHUP 0x010 /* Hung up. */ #define POLLNVAL 0x020 /* Invalid polling request. */ int poll(struct pollfd fds[], nfds_t nfds, int tmo); #ifdef __cplusplus } #endif #endif // defined(_WIN32)