/usr/include/crtmpserver/thelib/netio/netio.h is in crtmpserver-dev 1.0~dfsg-5.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | /*
* Copyright (c) 2010,
* Gavriloaie Eugen-Andrei (shiretu@gmail.com)
*
* This file is part of crtmpserver.
* crtmpserver is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* crtmpserver is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with crtmpserver. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _NETIO_H
#define _NETIO_H
#ifdef NET_KQUEUE
#include "netio/kqueue/iohandler.h"
#include "netio/kqueue/iohandlermanager.h"
#include "netio/kqueue/iohandlermanagertoken.h"
#include "netio/kqueue/iotimer.h"
#include "netio/kqueue/tcpacceptor.h"
#include "netio/kqueue/tcpcarrier.h"
#include "netio/kqueue/udpcarrier.h"
#include "netio/kqueue/inboundnamedpipecarrier.h"
#include "netio/kqueue/tcpconnector.h"
#include "netio/kqueue/stdiocarrier.h"
#ifdef HAS_KQUEUE_TIMERS
#define NETWORK_REACTOR "kqueue with EVFILT_TIMER support"
#else
#define NETWORK_REACTOR "kqueue without EVFILT_TIMER support"
#endif
#endif
#ifdef NET_EPOLL
#include "netio/epoll/iohandler.h"
#include "netio/epoll/iohandlermanager.h"
#include "netio/epoll/iohandlermanagertoken.h"
#include "netio/epoll/iotimer.h"
#include "netio/epoll/tcpacceptor.h"
#include "netio/epoll/tcpcarrier.h"
#include "netio/epoll/udpcarrier.h"
#include "netio/epoll/tcpconnector.h"
#include "netio/epoll/inboundnamedpipecarrier.h"
#include "netio/epoll/stdiocarrier.h"
#define NETWORK_REACTOR "epoll"
#endif
#ifdef NET_SELECT
#include "netio/select/iohandler.h"
#include "netio/select/iohandlermanager.h"
#include "netio/select/iotimer.h"
#include "netio/select/tcpacceptor.h"
#include "netio/select/tcpcarrier.h"
#include "netio/select/udpcarrier.h"
#include "netio/select/inboundnamedpipecarrier.h"
#include "netio/select/tcpconnector.h"
#include "netio/select/stdiocarrier.h"
#define NETWORK_REACTOR "select"
#endif
#ifdef NET_IOCP
#include "netio/iocp/iohandler.h"
#include "netio/iocp/iohandlermanager.h"
#include "netio/iocp/iohandlermanagertoken.h"
#include "netio/iocp/iotimer.h"
#include "netio/iocp/tcpacceptor.h"
#include "netio/iocp/tcpcarrier.h"
#include "netio/iocp/udpcarrier.h"
#include "netio/iocp/tcpconnector.h"
#define NETWORK_REACTOR "iocp"
#endif
#ifdef NET_IOCP2
#include "netio/iocp2/iohandler.h"
#include "netio/iocp2/iohandlermanager.h"
#include "netio/iocp2/iohandlermanagertoken.h"
#include "netio/iocp2/iotimer.h"
#include "netio/iocp2/tcpacceptor.h"
#include "netio/iocp2/tcpcarrier.h"
#include "netio/iocp2/udpcarrier.h"
#include "netio/iocp2/tcpconnector.h"
#include "netio/iocp2/stdiocarrier.h"
#define NETWORK_REACTOR "iocp2"
#endif
#endif /* _NETIO_H */
|