Diff for /libaitio/inc/aitio.h between versions 1.21 and 1.22

version 1.21, 2012/07/22 20:39:45 version 1.22, 2012/07/25 15:21:59
Line 308  typedef struct { Line 308  typedef struct {
                                                 AIT_LEN(__val) = 0; \                                                  AIT_LEN(__val) = 0; \
                                                 AIT_KEY(__val) = 0; \                                                  AIT_KEY(__val) = 0; \
                                         } while (0)                                          } while (0)
   #define AIT_ZERO_VAL(_vl)               do { ait_val_t *__val = (_vl); assert(__val); \
                                                   switch (AIT_TYPE(__val)) { \
                                                           case buffer: \
                                                           case string: \
                                                                   memset(__val->val.buffer, 0, \
                                                                                   AIT_LEN(__val)); \
                                                                   break; \
                                                           case data: \
                                                                   memset(__val->val_data, 0, \
                                                                                   AIT_LEN(__val)); \
                                                                   break; \
                                                           default: \
                                                                   __val->val.net = 0LL; \
                                                                   break; \
                                                   } \
                                                   AIT_KEY(__val) = 0; \
                                           } while (0)
   
 struct io_ether_addr {  struct io_ether_addr {
         u_int8_t ether_addr_octet[6];          u_int8_t ether_addr_octet[6];

Removed from v.1.21  
changed lines
  Added in v.1.22


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