|
version 1.25.10.1, 2024/12/05 12:33:49
|
version 1.29, 2025/11/17 20:02:47
|
|
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 - 2024 | Copyright 2004 - 2025 |
| 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 51 SUCH DAMAGE.
|
Line 51 SUCH DAMAGE.
|
| #include <assert.h> |
#include <assert.h> |
| #include <syslog.h> |
#include <syslog.h> |
| #include <stdarg.h> |
#include <stdarg.h> |
| |
#include <stdalign.h> |
| #include <sys/types.h> |
#include <sys/types.h> |
| #include <sys/param.h> |
#include <sys/param.h> |
| #include <sys/socket.h> |
#include <sys/socket.h> |
|
Line 82 SUCH DAMAGE.
|
Line 83 SUCH DAMAGE.
|
| #include <elwix/ajson.h> |
#include <elwix/ajson.h> |
| #include <elwix/aiov.h> |
#include <elwix/aiov.h> |
| #include <elwix/aindex.h> |
#include <elwix/aindex.h> |
| |
#include <elwix/aring.h> |
| |
#include <elwix/auuid.h> |
| |
|
| |
|
| #ifndef STRSIZ |
#ifndef STRSIZ |
|
Line 180 SUCH DAMAGE.
|
Line 183 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 310 extern int elwix_Debug;
|
Line 317 extern int elwix_Debug;
|
| #define ELOGGER(x, fmt, ...) do { assert((fmt)); \ |
#define ELOGGER(x, fmt, ...) do { assert((fmt)); \ |
| char __str[BUFSIZ] = { 0 }; \ |
char __str[BUFSIZ] = { 0 }; \ |
| snprintf(__str, sizeof __str, (fmt), ##__VA_ARGS__); \ |
snprintf(__str, sizeof __str, (fmt), ##__VA_ARGS__); \ |
| syslog((x), "Logger:%s(%d): %s\n", \ | syslog((x), "Log:%s(%d): %s\n", \ |
| __func__, __LINE__, __str); \ |
__func__, __LINE__, __str); \ |
| } while (0) |
} while (0) |
| |
|