NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
union | TDS_BYTE_CONVERT2 |
union | TDS_BYTE_CONVERT4 |
Macros | |
#define | TDS_GET_A1LE(ptr) (((uint8_t *)(ptr))[0]) |
#define | TDS_GET_A1BE(ptr) TDS_GET_A1LE(ptr) |
#define | TDS_GET_UA1LE(ptr) TDS_GET_A1LE(ptr) |
#define | TDS_GET_UA1BE(ptr) TDS_GET_A1LE(ptr) |
#define | TDS_PUT_A1LE(ptr, val) do { ((uint8_t *)(ptr))[0] = (val); } while(0) |
#define | TDS_PUT_A1BE(ptr, val) TDS_PUT_A1LE(ptr,val) |
#define | TDS_PUT_UA1LE(ptr, val) TDS_PUT_A1LE(ptr,val) |
#define | TDS_PUT_UA1BE(ptr, val) TDS_PUT_A1LE(ptr,val) |
#define | TDS_GET_UA2LE(ptr) (((uint8_t *)(ptr))[1] * 0x100u + ((uint8_t *)(ptr))[0]) |
#define | TDS_GET_UA2BE(ptr) (((uint8_t *)(ptr))[0] * 0x100u + ((uint8_t *)(ptr))[1]) |
#define | TDS_GET_A2LE(ptr) TDS_GET_UA2LE(ptr) |
#define | TDS_GET_A2BE(ptr) TDS_GET_UA2BE(ptr) |
#define | TDS_PUT_UA2LE(ptr, val) |
#define | TDS_PUT_UA2BE(ptr, val) |
#define | TDS_PUT_A2LE(ptr, val) TDS_PUT_UA2LE(ptr,val) |
#define | TDS_PUT_A2BE(ptr, val) TDS_PUT_UA2BE(ptr,val) |
#define | TDS_GET_UA4LE(ptr) |
#define | TDS_GET_UA4BE(ptr) |
#define | TDS_GET_A4LE(ptr) TDS_GET_UA4LE(ptr) |
#define | TDS_GET_A4BE(ptr) TDS_GET_UA4BE(ptr) |
#define | TDS_PUT_UA4LE(ptr, val) |
#define | TDS_PUT_UA4BE(ptr, val) |
#define | TDS_PUT_A4LE(ptr, val) TDS_PUT_UA4LE(ptr,val) |
#define | TDS_PUT_A4BE(ptr, val) TDS_PUT_UA4BE(ptr,val) |
#define | TDS_MAY_ALIAS |
#define | TDS_GET_A1(ptr) TDS_GET_A1LE(ptr) |
#define | TDS_GET_UA1(ptr) TDS_GET_UA1LE(ptr) |
#define | TDS_GET_A2(ptr) TDS_GET_A2LE(ptr) |
#define | TDS_GET_UA2(ptr) TDS_GET_UA2LE(ptr) |
#define | TDS_GET_A4(ptr) TDS_GET_A4LE(ptr) |
#define | TDS_GET_UA4(ptr) TDS_GET_UA4LE(ptr) |
#define | TDS_GET_A2LE(ptr) (((TDS_BYTE_CONVERT2*)(ptr))->usi) |
#define | TDS_GET_A4LE(ptr) (((TDS_BYTE_CONVERT4*)(ptr))->ui) |
#define | TDS_PUT_A1(ptr, val) TDS_PUT_A1LE(ptr,val) |
#define | TDS_PUT_UA1(ptr, val) TDS_PUT_UA1LE(ptr,val) |
#define | TDS_PUT_A2(ptr, val) TDS_PUT_A2LE(ptr,val) |
#define | TDS_PUT_UA2(ptr, val) TDS_PUT_UA2LE(ptr,val) |
#define | TDS_PUT_A4(ptr, val) TDS_PUT_A4LE(ptr,val) |
#define | TDS_PUT_UA4(ptr, val) TDS_PUT_UA4LE(ptr,val) |
#define | TDS_PUT_A2LE(ptr, val) (((TDS_BYTE_CONVERT2*)(ptr))->usi = (val)) |
#define | TDS_PUT_A4LE(ptr, val) (((TDS_BYTE_CONVERT4*)(ptr))->ui = (val)) |
#define | TDS_HOST2LE(val) (val) |
#define | TDS_HOST4LE(val) (val) |
#define | TDS_HOST2BE(val) TDS_BYTE_SWAP16(val) |
#define | TDS_HOST4BE(val) TDS_BYTE_SWAP32(val) |
#define TDS_GET_A1 | ( | ptr | ) | TDS_GET_A1LE(ptr) |
#define TDS_GET_A1BE | ( | ptr | ) | TDS_GET_A1LE(ptr) |
#define TDS_GET_A2 | ( | ptr | ) | TDS_GET_A2LE(ptr) |
#define TDS_GET_A2BE | ( | ptr | ) | TDS_GET_UA2BE(ptr) |
#define TDS_GET_A2LE | ( | ptr | ) | TDS_GET_UA2LE(ptr) |
#define TDS_GET_A2LE | ( | ptr | ) | (((TDS_BYTE_CONVERT2*)(ptr))->usi) |
#define TDS_GET_A4 | ( | ptr | ) | TDS_GET_A4LE(ptr) |
#define TDS_GET_A4BE | ( | ptr | ) | TDS_GET_UA4BE(ptr) |
#define TDS_GET_A4LE | ( | ptr | ) | TDS_GET_UA4LE(ptr) |
#define TDS_GET_A4LE | ( | ptr | ) | (((TDS_BYTE_CONVERT4*)(ptr))->ui) |
#define TDS_GET_UA1 | ( | ptr | ) | TDS_GET_UA1LE(ptr) |
#define TDS_GET_UA1BE | ( | ptr | ) | TDS_GET_A1LE(ptr) |
#define TDS_GET_UA1LE | ( | ptr | ) | TDS_GET_A1LE(ptr) |
#define TDS_GET_UA2 | ( | ptr | ) | TDS_GET_UA2LE(ptr) |
#define TDS_GET_UA4 | ( | ptr | ) | TDS_GET_UA4LE(ptr) |
#define TDS_GET_UA4BE | ( | ptr | ) |
#define TDS_GET_UA4LE | ( | ptr | ) |
#define TDS_HOST2BE | ( | val | ) | TDS_BYTE_SWAP16(val) |
#define TDS_HOST4BE | ( | val | ) | TDS_BYTE_SWAP32(val) |
#define TDS_PUT_A1 | ( | ptr, | |
val | |||
) | TDS_PUT_A1LE(ptr,val) |
#define TDS_PUT_A1BE | ( | ptr, | |
val | |||
) | TDS_PUT_A1LE(ptr,val) |
#define TDS_PUT_A2 | ( | ptr, | |
val | |||
) | TDS_PUT_A2LE(ptr,val) |
#define TDS_PUT_A2BE | ( | ptr, | |
val | |||
) | TDS_PUT_UA2BE(ptr,val) |
#define TDS_PUT_A2LE | ( | ptr, | |
val | |||
) | TDS_PUT_UA2LE(ptr,val) |
#define TDS_PUT_A2LE | ( | ptr, | |
val | |||
) | (((TDS_BYTE_CONVERT2*)(ptr))->usi = (val)) |
#define TDS_PUT_A4 | ( | ptr, | |
val | |||
) | TDS_PUT_A4LE(ptr,val) |
#define TDS_PUT_A4BE | ( | ptr, | |
val | |||
) | TDS_PUT_UA4BE(ptr,val) |
#define TDS_PUT_A4LE | ( | ptr, | |
val | |||
) | TDS_PUT_UA4LE(ptr,val) |
#define TDS_PUT_A4LE | ( | ptr, | |
val | |||
) | (((TDS_BYTE_CONVERT4*)(ptr))->ui = (val)) |
#define TDS_PUT_UA1 | ( | ptr, | |
val | |||
) | TDS_PUT_UA1LE(ptr,val) |
#define TDS_PUT_UA1BE | ( | ptr, | |
val | |||
) | TDS_PUT_A1LE(ptr,val) |
#define TDS_PUT_UA1LE | ( | ptr, | |
val | |||
) | TDS_PUT_A1LE(ptr,val) |
#define TDS_PUT_UA2 | ( | ptr, | |
val | |||
) | TDS_PUT_UA2LE(ptr,val) |
#define TDS_PUT_UA2BE | ( | ptr, | |
val | |||
) |
#define TDS_PUT_UA2LE | ( | ptr, | |
val | |||
) |
#define TDS_PUT_UA4 | ( | ptr, | |
val | |||
) | TDS_PUT_UA4LE(ptr,val) |
#define TDS_PUT_UA4BE | ( | ptr, | |
val | |||
) |