|
version 1.27, 2025/09/26 10:16:59
|
version 1.30.10.1, 2026/03/31 15:25:23
|
|
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 - 2025 | 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 56 SUCH DAMAGE.
|
Line 56 SUCH DAMAGE.
|
| #include <sys/param.h> |
#include <sys/param.h> |
| #include <sys/socket.h> |
#include <sys/socket.h> |
| #include <sys/un.h> |
#include <sys/un.h> |
| |
#include <stdatomic.h> |
| #ifndef __linux__ |
#ifndef __linux__ |
| #include <sys/limits.h> |
#include <sys/limits.h> |
| #include <sys/endian.h> |
#include <sys/endian.h> |
|
Line 66 SUCH DAMAGE.
|
Line 67 SUCH DAMAGE.
|
| #include <netinet/in.h> |
#include <netinet/in.h> |
| #include <arpa/inet.h> |
#include <arpa/inet.h> |
| |
|
| #ifndef __cplusplus |
|
| #include <stdatomic.h> |
|
| #else |
|
| #include <atomic> |
|
| #define _Atomic(X) std::atomic< X > |
|
| #endif |
|
| |
|
| #include <elwix/aqueue.h> |
#include <elwix/aqueue.h> |
| #include <elwix/atree.h> |
#include <elwix/atree.h> |
| #include <elwix/ampool.h> |
#include <elwix/ampool.h> |
|
Line 91 SUCH DAMAGE.
|
Line 85 SUCH DAMAGE.
|
| #include <elwix/aiov.h> |
#include <elwix/aiov.h> |
| #include <elwix/aindex.h> |
#include <elwix/aindex.h> |
| #include <elwix/aring.h> |
#include <elwix/aring.h> |
| |
#include <elwix/auuid.h> |
| |
|
| |
|
| #ifndef STRSIZ |
#ifndef STRSIZ |
|
Line 189 SUCH DAMAGE.
|
Line 184 SUCH DAMAGE.
|
| #define VACUUM_BETWEEN 2 |
#define VACUUM_BETWEEN 2 |
| |
|
| |
|
| extern int __isthreaded; | typedef struct { |
| | E_ATOMIC_ALIGN int value; |
| | } e_atomic_int; |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" { |
extern "C" { |
| #endif |
#endif |
| |
|
| |
extern int __isthreaded; |
| |
|
| // elwix_SetProg() Set program memory pool name |
// elwix_SetProg() Set program memory pool name |
| void elwix_SetProg(const char *csProgName); |
void elwix_SetProg(const char *csProgName); |
| // elwix_GetProg() Get program memory pool name |
// elwix_GetProg() Get program memory pool name |
|
Line 300 extern int elwix_Debug;
|
Line 299 extern int elwix_Debug;
|
| #define ELWIX_DEBUG_LOCK 0x20 |
#define ELWIX_DEBUG_LOCK 0x20 |
| #define ELWIX_DEBUG_SYS 0x40 |
#define ELWIX_DEBUG_SYS 0x40 |
| #define ELWIX_DEBUG_NET 0x80 |
#define ELWIX_DEBUG_NET 0x80 |
| |
#define ELWIX_DEBUG_1 0x100 |
| |
#define ELWIX_DEBUG_2 0x200 |
| |
#define ELWIX_DEBUG_3 0x400 |
| |
#define ELWIX_DEBUG_4 0x800 |
| #define ELWIX_DEBUG_ANY 0xFFFFFFFF |
#define ELWIX_DEBUG_ANY 0xFFFFFFFF |
| |
|
| #define EDBG(x) (elwix_Debug & (x)) |
#define EDBG(x) (elwix_Debug & (x)) |