Sha256: 9de2bbf0c3e12b1fa4448da64e89d86708febb69a48eec2960566bfd99cf6dad

Contents?: true

Size: 987 Bytes

Versions: 136

Compression:

Stored size: 987 Bytes

Contents

/*
 * Copyright (c) 2004-2007 Sergey Lyubka <valenok@gmail.com>
 * All rights reserved
 *
 * "THE BEER-WARE LICENSE" (Revision 42):
 * Sergey Lyubka wrote this file.  As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return.
 */

#include <sys/wait.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/mman.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>

#include <pwd.h>
#include <unistd.h>
#include <dirent.h>
#include <dlfcn.h>

#if !defined(NO_THREADS)
#include "pthread.h"
#define	_beginthread(a, b, c) do { pthread_t tid; \
	pthread_create(&tid, NULL, (void *(*)(void *))a, c); } while (0)
#endif /* !NO_THREADS */

#define	SSL_LIB				"libssl.so"
#define	DIRSEP				'/'
#define	IS_DIRSEP_CHAR(c)		((c) == '/')

#ifndef O_BINARY
#define	O_BINARY			0
#endif //O_BINARY

#define	closesocket(a)			close(a)
#define	ERRNO				errno

Version data entries

136 entries across 136 versions & 2 rubygems

Version Path
rhodes-7.6.0 platform/shared/shttpd/src/compat_unix.h
rhodes-7.5.1 platform/shared/shttpd/src/compat_unix.h
rhodes-7.4.1 platform/shared/shttpd/src/compat_unix.h
rhodes-7.1.17 platform/shared/shttpd/src/compat_unix.h
rhodes-6.2.0 platform/shared/shttpd/src/compat_unix.h
rhodes-6.0.11 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.18 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.17 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.15 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.0.22 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.2 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.0.7 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.0.3 platform/shared/shttpd/src/compat_unix.h
rhodes-5.5.0 platform/shared/shttpd/src/compat_unix.h
tauplatform-1.0.3 platform/shared/shttpd/src/compat_unix.h
tauplatform-1.0.2 platform/shared/shttpd/src/compat_unix.h
tauplatform-1.0.1 platform/shared/shttpd/src/compat_unix.h
rhodes-3.5.1.12 platform/shared/shttpd/src/compat_unix.h
rhodes-3.3.5 platform/shared/shttpd/src/compat_unix.h
rhodes-3.4.2 platform/shared/shttpd/src/compat_unix.h