Diff for /libaitio/inc/aitio.h between versions 1.18.2.5 and 1.18.2.7

version 1.18.2.5, 2012/05/23 14:06:08 version 1.18.2.7, 2012/06/25 14:34:40
Line 49  SUCH DAMAGE. Line 49  SUCH DAMAGE.
   
 #define COMPAT_43TTY  #define COMPAT_43TTY
   
 #include <atree.h>  
 #include <ampool.h>  
 #include <assert.h>  #include <assert.h>
 #include <openssl/evp.h>  #include <openssl/evp.h>
 #include <openssl/aes.h>  #include <openssl/aes.h>
Line 60  SUCH DAMAGE. Line 58  SUCH DAMAGE.
 #include <sys/un.h>  #include <sys/un.h>
 #include <net/if_dl.h>  #include <net/if_dl.h>
 #include <netinet/in.h>  #include <netinet/in.h>
   #include <atree.h>
   #include <ampool.h>
   
   
 #define IO_SYSM         0  #define IO_SYSM         0
Line 156  typedef struct { Line 156  typedef struct {
                                                 (_vl) = __val; \                                                  (_vl) = __val; \
                                         } while (0);                                          } while (0);
 #define AIT_SET_PTR(_vl, _p, _len)      do { ait_val_t *__val = (_vl); assert(__val); \  #define AIT_SET_PTR(_vl, _p, _len)      do { ait_val_t *__val = (_vl); assert(__val); \
                                                __val->val_type = ptr; AIT_LEN(__val) = _len; \                                                __val->val_type = ptr; __val->val.ptr = _p; \
                                                __val->val.ptr = _p; } while (0)                                                AIT_LEN(__val) = _len; } while (0)
 #define AIT_RE_BUF(_vl, _len)           do { ait_val_t *__val = (_vl); assert(__val); \  #define AIT_RE_BUF(_vl, _len)           do { ait_val_t *__val = (_vl); assert(__val); \
                                                 void *__ptr = io_realloc(AIT_GET_BUF(__val), _len); \                                                  void *__ptr = io_realloc(AIT_GET_BUF(__val), _len); \
                                                 if (__ptr) { \                                                  if (__ptr) { \
Line 195  typedef struct { Line 195  typedef struct {
                                                                         AIT_LEN(__val)); \                                                                          AIT_LEN(__val)); \
                                                 } } while (0)                                                  } } while (0)
 #define AIT_SET_BLOB(_vl, _n, _len)     do { ait_val_t *__val = (_vl); assert(__val); \  #define AIT_SET_BLOB(_vl, _n, _len)     do { ait_val_t *__val = (_vl); assert(__val); \
                                                __val->val_type = blob; AIT_LEN(__val) = _len; \                                                __val->val_type = blob; __val->val.blob = _n; \
                                                __val->val.blob = _n; } while (0)                                                AIT_LEN(__val) = _len; } while (0)
 #define AIT_SET_BLOB2(_vl, _bv)         do { ait_val_t *__val = (_vl); assert(__val); assert((_bv)); \  #define AIT_SET_BLOB2(_vl, _bv)         do { ait_val_t *__val = (_vl); assert(__val); assert((_bv)); \
                                                 __val->val_type = blob; AIT_LEN(__val) = (_bv)->blob_len; \                                                  __val->val_type = blob; AIT_LEN(__val) = (_bv)->blob_len; \
                                                 __val->val.blob = (_bv)->blob_var; } while (0)                                                  __val->val.blob = (_bv)->blob_var; } while (0)

Removed from v.1.18.2.5  
changed lines
  Added in v.1.18.2.7


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