version 1.7.16.1, 2014/12/11 00:25:25
|
version 1.9.4.1, 2016/05/14 11:31:38
|
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 - 2014 | Copyright 2004 - 2015 |
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 57 typedef enum {
|
Line 57 typedef enum {
|
i8, i16, i32, i64, /* integers ... */ |
i8, i16, i32, i64, /* integers ... */ |
} ait_type_t; |
} ait_type_t; |
|
|
typedef struct { | typedef struct __packed { |
uint8_t val_type; |
uint8_t val_type; |
union { |
union { |
struct { |
struct { |
Line 93 typedef struct {
|
Line 93 typedef struct {
|
int64_t i64; |
int64_t i64; |
} val; |
} val; |
uint8_t val_data[0]; |
uint8_t val_data[0]; |
} __packed ait_val_t; /* sizeof 16 bytes */ | } /*__packed*/ ait_val_t; /* sizeof 16 bytes */ |
|
|
#define AIT_TYPE(_vl) ((ait_type_t) (_vl)->val_type) |
#define AIT_TYPE(_vl) ((ait_type_t) (_vl)->val_type) |
#define AIT_LEN(_vl) (_vl)->val_len |
#define AIT_LEN(_vl) (_vl)->val_len |