Diff for /libaitrpc/inc/aitrpc_pkt.h between versions 1.3 and 1.4

version 1.3, 2016/08/08 13:21:13 version 1.4, 2024/03/20 17:32:30
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 - 2015Copyright 2004 - 2024
         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 79  SUCH DAMAGE. Line 79  SUCH DAMAGE.
   
 /* RPC call I/O direction */  /* RPC call I/O direction */
   
#define RPC_REQ                 0x0#define RPC_REQ                 0x1
#define RPC_ACK                 0x1#define RPC_ACK                 0x2
 #define RPC_IPC                 0x4
   
 /* RPC builtin registed calls */  /* RPC builtin registed calls */
   
Line 138  struct tagRPCCall { Line 139  struct tagRPCCall {
         uint16_t        call_tag;          uint16_t        call_tag;
         uint8_t         call_argc;          uint8_t         call_argc;
         ait_val_t       call_argv[0];          ait_val_t       call_argv[0];
} __packed;                       /* size == 20 bytes */} __attribute__((packed));        /* size == 20 bytes */
 #define RPC_CHK_NOREPLY(x)      (ntohl((u_long) (x)->call_req.flags) & RPC_NOREPLY)  #define RPC_CHK_NOREPLY(x)      (ntohl((u_long) (x)->call_req.flags) & RPC_NOREPLY)
 #define RPC_SET_ERRNO(x, _v)    ((x)->call_rep.eno = (int32_t) htonl((_v)))  #define RPC_SET_ERRNO(x, _v)    ((x)->call_rep.eno = (int32_t) htonl((_v)))
 #define RPC_SET_RETURN(x, _v)   ((x)->call_rep.ret = (int32_t) htonl((_v)))  #define RPC_SET_RETURN(x, _v)   ((x)->call_rep.ret = (int32_t) htonl((_v)))

Removed from v.1.3  
changed lines
  Added in v.1.4


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