|
version 1.9.4.1, 2016/05/14 11:31:38
|
version 1.10.42.1, 2019/08/16 15:23:33
|
|
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 - 2015 | Copyright 2004 - 2019 |
| 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 304 typedef struct __packed {
|
Line 304 typedef struct __packed {
|
| AIT_SET_STR((_vl), \ |
AIT_SET_STR((_vl), \ |
| AIT_GET_STR((_v))); \ |
AIT_GET_STR((_v))); \ |
| break; \ |
break; \ |
| |
case data: \ |
| |
AIT_SET_DATA((_vl), \ |
| |
AIT_GET_DATA((_v)), \ |
| |
break; \ |
| default: \ |
default: \ |
| break; \ |
break; \ |
| } \ |
} \ |
|
Line 331 typedef struct __packed {
|
Line 335 typedef struct __packed {
|
| if (!__val->val_in && \ |
if (!__val->val_in && \ |
| __val->val.buffer) \ |
__val->val.buffer) \ |
| e_free(__val->val.buffer); \ |
e_free(__val->val.buffer); \ |
| __val->val.buffer = NULL; \ |
|
| break; \ |
break; \ |
| case string: \ |
case string: \ |
| if (!__val->val_in && \ |
if (!__val->val_in && \ |
| __val->val.string) \ |
__val->val.string) \ |
| e_free(__val->val.string); \ |
e_free(__val->val.string); \ |
| __val->val.string = NULL; \ |
|
| break; \ |
break; \ |
| |
case data: \ |
| |
if (!__val->val_in) \ |
| |
memset(__val->val_data, 0, \ |
| |
AIT_LEN(__val)); \ |
| |
break; \ |
| default: \ |
default: \ |
| break; \ |
break; \ |
| } \ |
} \ |
| __val->val_type = empty; \ |
__val->val_type = empty; \ |
| __val->val_opt ^= __val->val_opt; \ |
__val->val_opt ^= __val->val_opt; \ |
| |
__val->val.net ^= __val->val.net; \ |
| AIT_LEN(__val) = 0; \ |
AIT_LEN(__val) = 0; \ |
| AIT_KEY(__val) = 0; \ |
AIT_KEY(__val) = 0; \ |
| } while (0) |
} while (0) |