version 1.4.2.1, 2013/08/20 22:19:28
|
version 1.8, 2015/01/19 23:21:12
|
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, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2014 |
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 292 typedef struct {
|
Line 292 typedef struct {
|
__val->val_type = f64; __val->val.f64 = _n; \ |
__val->val_type = f64; __val->val.f64 = _n; \ |
AIT_LEN(__val) = sizeof(double); } while (0) |
AIT_LEN(__val) = sizeof(double); } while (0) |
|
|
#define AIT_COPY_VAL(_vl, _v) do { assert((_vl) && (_v) && !AIT_CONST(__val)); \ | #define AIT_COPY_VAL(_vl, _v) do { assert((_vl) && (_v) && !AIT_CONST((_vl))); \ |
memcpy((_vl), (_v), sizeof(ait_val_t)); \ |
memcpy((_vl), (_v), sizeof(ait_val_t)); \ |
switch (AIT_TYPE((_vl))) { \ |
switch (AIT_TYPE((_vl))) { \ |
case buffer: \ |
case buffer: \ |
Line 318 typedef struct {
|
Line 318 typedef struct {
|
.val_key = 0, .val_len = 0, \ |
.val_key = 0, .val_len = 0, \ |
.val.net = 0LL \ |
.val.net = 0LL \ |
} |
} |
|
#define AIT_VAL_INIT AIT_VAL_INITIALIZER() |
#define AIT_INIT_VAL(_vl) (memset((_vl), 0, sizeof(ait_val_t))) |
#define AIT_INIT_VAL(_vl) (memset((_vl), 0, sizeof(ait_val_t))) |
#define AIT_INIT_VAL2(_vl, _t) do { \ |
#define AIT_INIT_VAL2(_vl, _t) do { \ |
AIT_INIT_VAL((_vl)); \ |
AIT_INIT_VAL((_vl)); \ |
Line 504 void ait_freeVars(array_t ** __restrict vars);
|
Line 505 void ait_freeVars(array_t ** __restrict vars);
|
* return: NULL error or !=NULL ait_val_t element |
* return: NULL error or !=NULL ait_val_t element |
*/ |
*/ |
ait_val_t *ait_getVars(array_t ** __restrict vars, int n); |
ait_val_t *ait_getVars(array_t ** __restrict vars, int n); |
|
/* |
|
* ait_resideVars() - Calculate footprint of resided variables into array |
|
* |
|
* @vars = Variable array |
|
* return: bytes for whole array |
|
*/ |
|
size_t ait_resideVars(array_t * __restrict vars); |
/* |
/* |
* ait_sortVarsByKey() - Sorting array with variables by key |
* ait_sortVarsByKey() - Sorting array with variables by key |
* |
* |