Sha256: 9ac8cbbdf9b18f12effbebbefac22caa059d4c12363e08b04264f87f6b607fc2
Contents?: true
Size: 696 Bytes
Versions: 2
Compression:
Stored size: 696 Bytes
Contents
/* LibMemcached * 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 * */ #ifndef POLL_POLL_H #define POLL_POLL_H 1 #ifdef WIN32 #include <winsock2.h> #endif #ifdef __cplusplus extern "C" { #endif typedef struct pollfd { #ifdef 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 int poll(struct pollfd fds[], nfds_t nfds, int tmo); #ifdef __cplusplus } #endif #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
couchbase-memcached-1.2.9 | ext/libmemcached-0.50/poll/poll.h |
couchbase-memcached-1.2.8 | ext/libmemcached-0.50/poll/poll.h |