Diff for /libelwix/inc/elwix.h between versions 1.25.10.1 and 1.27

version 1.25.10.1, 2024/12/05 12:33:49 version 1.27, 2025/09/26 10:16:59
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 - 2024Copyright 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 65  SUCH DAMAGE. Line 66  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 82  SUCH DAMAGE. Line 90  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>
   
   
 #ifndef STRSIZ  #ifndef STRSIZ
Line 310  extern int elwix_Debug; Line 319  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)
   

Removed from v.1.25.10.1  
changed lines
  Added in v.1.27


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>