Diff for /libaitrpc/inc/aitrpc.h between versions 1.29.4.1 and 1.30

version 1.29.4.1, 2024/12/09 13:41:57 version 1.30, 2025/03/31 12:21:07
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 74  typedef struct tagRPCFunc { Line 74  typedef struct tagRPCFunc {
         void                    *func_parent;          void                    *func_parent;
   
         SLIST_ENTRY(tagRPCFunc) func_next;          SLIST_ENTRY(tagRPCFunc) func_next;
        AVL_ENTRY(tagRPCFunc)      func_node;        RB_ENTRY(tagRPCFunc)      func_node;
 } rpc_func_t;  } rpc_func_t;
 #define RPC_FUNC_SERVER(x)      ((rpc_srv_t*) (x)->func_parent)  #define RPC_FUNC_SERVER(x)      ((rpc_srv_t*) (x)->func_parent)
   
Line 83  typedef struct tagRPCFuncs { Line 83  typedef struct tagRPCFuncs {
         pthread_mutex_t         mtx;          pthread_mutex_t         mtx;
   
         struct tagRPCFunc       *slh_first;          struct tagRPCFunc       *slh_first;
        struct tagRPCFunc       *avlh_root;        struct tagRPCFunc       *rbh_root;
 } rpc_funcs_t;  } rpc_funcs_t;
 #define RPC_FUNCS_LOCK(x)       pthread_mutex_lock(&(x)->mtx)  #define RPC_FUNCS_LOCK(x)       pthread_mutex_lock(&(x)->mtx)
 #define RPC_FUNCS_UNLOCK(x)     pthread_mutex_unlock(&(x)->mtx)  #define RPC_FUNCS_UNLOCK(x)     pthread_mutex_unlock(&(x)->mtx)
#define RPC_FUNCS_ISEMPTY(x)    AVL_EMPTY((x))#define RPC_FUNCS_ISEMPTY(x)    RB_EMPTY((x))
   
   
 /* BLOB register element */  /* BLOB register element */

Removed from v.1.29.4.1  
changed lines
  Added in v.1.30


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