version 1.11.2.1, 2011/08/29 14:57:53
|
version 1.11.2.2, 2011/08/29 22:35:20
|
Line 103 struct tagReqXML {
|
Line 103 struct tagReqXML {
|
url_Item_t xml_value; |
url_Item_t xml_value; |
}; |
}; |
|
|
/* RPC variables and managment */ | /* AIT RPC variables and managment */ |
|
|
typedef enum { |
typedef enum { |
empty, /* empty -> variable is not set */ |
empty, /* empty -> variable is not set */ |
Line 171 typedef struct {
|
Line 171 typedef struct {
|
__val->val.blob = (_bv)->blob_var; } while (0) |
__val->val.blob = (_bv)->blob_var; } while (0) |
#define AIT_SET_ARRAY(_vl, _arr) do { ait_val_t *__val = (_vl); assert(__val); assert((_arr)); \ |
#define AIT_SET_ARRAY(_vl, _arr) do { ait_val_t *__val = (_vl); assert(__val); assert((_arr)); \ |
AIT_TYPE(__val) = array; AIT_LEN(__val) = io_arraySize((_arr)); \ |
AIT_TYPE(__val) = array; AIT_LEN(__val) = io_arraySize((_arr)); \ |
|
__val->val.array = (uint8_t*) (_arr); \ |
} while (0) |
} while (0) |
|
|
#define AIT_SET_U8(_vl, _n) do { ait_val_t *__val = (_vl); assert(__val); \ |
#define AIT_SET_U8(_vl, _n) do { ait_val_t *__val = (_vl); assert(__val); \ |
Line 211 typedef struct {
|
Line 212 typedef struct {
|
free(__val->val.string); \ |
free(__val->val.string); \ |
__val->val.string = NULL; \ |
__val->val.string = NULL; \ |
} \ |
} \ |
break; \ |
|
case array: \ |
|
io_arrayDestroy(&AIT_GET_ARRAY(__val)); \ |
|
break; \ |
break; \ |
} \ |
} \ |
AIT_TYPE(__val) = empty; \ |
AIT_TYPE(__val) = empty; \ |