version 1.16.2.1, 2012/03/29 09:37:19
|
version 1.16.2.2, 2012/03/29 12:23:00
|
Line 122 typedef struct {
|
Line 122 typedef struct {
|
#define AIT_BLOB_CHUNKS(_vl, _n) (assert((_vl)), AIT_LEN((_vl)) / _n + (AIT_LEN((_vl)) % _n) ? 1 : 0) |
#define AIT_BLOB_CHUNKS(_vl, _n) (assert((_vl)), AIT_LEN((_vl)) / _n + (AIT_LEN((_vl)) % _n) ? 1 : 0) |
#define AIT_ISEMPTY(_vl) (assert((_vl)), AIT_TYPE((_vl)) == empty) |
#define AIT_ISEMPTY(_vl) (assert((_vl)), AIT_TYPE((_vl)) == empty) |
|
|
#define AIT_GET_LIKE(_vl, _type) (assert((_vl)), (_type) (_vl)->val.ptr) | #define AIT_GET_LIKE(_vl, _type) ((_type) ((_vl) ? (_vl)->val.ptr : NULL)) |
|
|
#define AIT_GET_PTR(_vl) (assert((_vl)), assert(AIT_TYPE((_vl)) == ptr), (_vl)->val.ptr) |
#define AIT_GET_PTR(_vl) (assert((_vl)), assert(AIT_TYPE((_vl)) == ptr), (_vl)->val.ptr) |
#define AIT_GET_DATA(_vl) (assert((_vl)), assert(AIT_TYPE((_vl)) == data), (_vl)->val_data) |
#define AIT_GET_DATA(_vl) (assert((_vl)), assert(AIT_TYPE((_vl)) == data), (_vl)->val_data) |
Line 376 inline int io_clrVars(array_t * __restrict vars);
|
Line 376 inline int io_clrVars(array_t * __restrict vars);
|
*/ |
*/ |
inline void io_freeVars(array_t ** __restrict vars); |
inline void io_freeVars(array_t ** __restrict vars); |
/* |
/* |
* io_sortVars() - Sorting array with variables | * io_sortVars() Sorting array with variables |
* |
* |
* @vars = Variable array |
* @vars = Variable array |
* @order = Sort order. If =0 ascend ot !=0 descend |
* @order = Sort order. If =0 ascend ot !=0 descend |
Line 385 inline void io_freeVars(array_t ** __restrict vars);
|
Line 385 inline void io_freeVars(array_t ** __restrict vars);
|
*/ |
*/ |
inline void io_sortVars(array_t * __restrict vars, int order, |
inline void io_sortVars(array_t * __restrict vars, int order, |
int (*cmp)(const void*, const void*)); |
int (*cmp)(const void*, const void*)); |
|
/* |
|
* io_findKeyVars() Find variable by key from array |
|
* |
|
* @vars = Variables |
|
* @key = Search key |
|
* return: NULL error or not found, !=NULL valid element |
|
*/ |
|
ait_val_t *io_findKeyVars(array_t * __restrict vars, u_short key); |
|
|
|
|
/* |
/* |