#include <unistd.h>
#include <features.h>
#include <sys/types.h>
#include <sys/time.h>
#include <poll.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <sys/un.h>
#include <fcntl.h>
#include <sys/fcntl.h>
#include <endian.h>
#include <signal.h>
#include <cstring>
#include <strings.h>
#include <alloca.h>
#include <pthread.h>
#include <semaphore.h>
Go to the source code of this file.
#define __BIG_ENDIAN 4321 |
#define __BYTE_ALIGNMENT 1 |
#define __BYTE_ORDER 1234 |
#define __EXPORT_TEMPLATE |
( |
|
x | ) |
|
#define __LITTLE_ENDIAN 1234 |
#define _POSIX_PTHREAD_SEMANTICS 1 |
#define _XOPEN_SOURCE 600 |
#define CCXX_EXCEPTIONS 1 |
#define CCXX_HAVE_NEW_INIT 1 |
#define CCXX_MULTIFAMILY_IP |
#define CCXX_NAMESPACES 1 |
#define CCXX_PACKAGE "commoncpp2" |
#define CCXX_PACKAGE_BUGREPORT "" |
#define CCXX_PACKAGE_CCXX_VERSION "" |
#define CCXX_PACKAGE_NAME "" |
#define CCXX_PACKAGE_STRING "" |
#define CCXX_PACKAGE_TARNAME "" |
#define CCXX_PACKAGE_URL "" |
#define CCXX_VERSION "1.8.1" |
#define COMMON_ASYNC_OVERRIDE |
#define COMMON_DEADLOCK_DEBUG |
#define COMMON_NAMED_MUTEX |
#define COMMON_NAMESPACE ost |
#define COMMON_NET_DEVICES |
#define COMMON_OST_NAMESPACE |
#define COMMON_PROCESS_ATTACH |
#define COMMON_THREAD_DEBUG |
#define COMMON_THREAD_SLEEP |
#define COMMON_TIMER_SLEEP |
#define COMMON_XML_PARSING |
#define ETC_PREFIX "/etc/" |
#define HAVE_ARPA_INET_H 1 |
#define HAVE_BITS_WORDSIZE_H 1 |
#define HAVE_FEATURES_H 1 |
#define HAVE_FEATURES_H 1 |
#define HAVE_GETADDRINFO 1 |
#define HAVE_GETGRNAM_R 1 |
#define HAVE_GETHOSTBYNAME2 1 |
#define HAVE_GETOPT_LONG 1 |
#define HAVE_GETPAGESIZE 1 |
#define HAVE_GETPWNAM_R 1 |
#define HAVE_GETPWUID_R 1 |
#define HAVE_GETTIMEOFDAY 1 |
#define HAVE_HIRES_TIMER 1 |
#define HAVE_INET_SOCKETS 1 |
#define HAVE_INTTYPES_H 1 |
#define HAVE_LINUX_IN6_H 1 |
#define HAVE_LOCALTIME_R 1 |
#define HAVE_NETINET_IN_H 1 |
#define HAVE_NETINET_IN_SYSTM_H 1 |
#define HAVE_NETINET_IP_H 1 |
#define HAVE_POSIX_MEMALIGN 1 |
#define HAVE_PREAD_PWRITE 1 |
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1 |
#define HAVE_PTHREAD_CANCEL 1 |
#define HAVE_PTHREAD_DELAY |
#define HAVE_PTHREAD_MUTEXATTR_SETTYPE 1 |
#define HAVE_PTHREAD_NANOSLEEP 1 |
#define HAVE_PTHREAD_RWLOCK 1 |
#define HAVE_PTHREAD_SETCANCELTYPE 1 |
#define HAVE_PTHREAD_YIELD 1 |
#define HAVE_SCHED_GETSCHEDULER 1 |
#define HAVE_SEMAPHORE_H 1 |
#define HAVE_STRCASECMP 1 |
#define HAVE_STRERROR_R 1 |
#define HAVE_SYS_FCNTL_H 1 |
#define HAVE_SYS_FILE_H 1 |
#define HAVE_SYS_IOCTL_H 1 |
#define HAVE_SYS_PARAM_H 1 |
#define HAVE_SYS_POLL_H 1 |
#define HAVE_SYS_SELECT_H 1 |
#define HAVE_SYS_SOCKET_H 1 |
#define HAVE_SYS_STAT_H 1 |
#define HAVE_SYS_TIME_H 1 |
#define HAVE_SYS_TIME_H 1 |
#define HAVE_SYS_TYPES_64 1 |
#define HAVE_SYS_TYPES_64 1 |
#define HAVE_SYS_TYPES_H 1 |
#define HAVE_SYS_TYPES_H 1 |
#define HAVE_SYS_TYPES_STD 1 |
#define HAVE_SYS_TYPES_STD 1 |
#define HAVE_SYS_WAIT_H 1 |
#define HAVE_UNIX_SOCKETS 1 |
#define LT_OBJDIR ".libs/" |
#define NAMESPACE_COMMON namespace ost { |
#define NEW_THROWS throw() |
#define pthread_delay |
( |
|
x | ) |
nanosleep(x, NULL) |
#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP |
#define restrict __restrict |
#define SA_ONESHOT SA_RESETHAND |
#define stricmp |
( |
|
x, |
|
|
|
y |
|
) |
| strcasecmp(x,y) |
#define stristr |
( |
|
x, |
|
|
|
y |
|
) |
| strcasestr(x,y) |
#define strnicmp |
( |
|
x, |
|
|
|
y, |
|
|
|
n |
|
) |
| strncasecmp(x,y,n) |
#define SUN_LEN |
( |
|
ptr | ) |
((size_t)((struct sockaddr_un *)0)->sun_path) + strlen((ptr)->sun_path)) |
#define THROW |
( |
|
x | ) |
throw x |
#define THROWS |
( |
|
x | ) |
throw(x) |
#define THROWS_EMPTY throw() |
#define TIME_WITH_SYS_TIME 1 |
#define TIME_WITH_SYS_TIME 1 |
#define USE_MONOTONIC_TIMER 1 |
#define USING |
( |
|
x | ) |
using namespace x; |