|
version 1.4, 2012/03/13 10:01:59
|
version 1.16, 2026/05/20 04:07:04
|
|
Line 12 terms:
|
Line 12 terms:
|
| All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
| Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
| |
|
| Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | Copyright 2004 - 2026 |
| by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
| |
|
| Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
|
Line 47 SUCH DAMAGE.
|
Line 47 SUCH DAMAGE.
|
| #define __GLOBAL_H |
#define __GLOBAL_H |
| |
|
| |
|
| |
#include "config.h" |
| |
|
| #include <stdio.h> |
#include <stdio.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
| #include <stdint.h> |
#include <stdint.h> |
| #include <string.h> |
#include <string.h> |
| #include <unistd.h> |
#include <unistd.h> |
| |
#include <fcntl.h> |
| #include <stdarg.h> |
#include <stdarg.h> |
| #include <errno.h> |
#include <errno.h> |
| |
#include <signal.h> |
| #include <pthread.h> |
#include <pthread.h> |
| #include <assert.h> |
#include <assert.h> |
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <sys/uio.h> |
#include <sys/uio.h> |
| |
#ifdef ATOMIC_SUPPORT |
| |
#ifndef __cplusplus |
| |
#include <stdatomic.h> |
| |
#else |
| |
#include <atomic> |
| |
#define _Atomic(X) std::atomic<X> |
| |
#endif |
| |
#endif |
| |
#if SUP_ENABLE == EP_SUPPORT || defined(__linux__) |
| |
#include "bsd_queue.h" |
| |
#include <linux/sockios.h> |
| |
#else |
| #include <sys/queue.h> |
#include <sys/queue.h> |
| |
#endif |
| |
#if SUP_ENABLE == KQ_SUPPORT |
| #include <sys/event.h> |
#include <sys/event.h> |
| |
#elif SUP_ENABLE == EP_SUPPORT |
| |
#include <sys/epoll.h> |
| |
#include <sys/ioctl.h> |
| |
#include <linux/sockios.h> |
| |
#else |
| |
#include <sys/select.h> |
| |
#include <sys/ioctl.h> |
| |
#endif |
| #include <sys/time.h> |
#include <sys/time.h> |
| |
#if defined(HAVE_LIBBSD) && ! defined(HAVE_LIBELWIX) |
| |
#include <bsd/string.h> |
| |
#endif |
| |
|
| #include "config.h" | #ifdef __ELWIX |
| | #include <elwix.h> |
| | #endif |
| |
|
| #include "aitsched.h" |
#include "aitsched.h" |
| #include "defs.h" |
#include "defs.h" |