Changeset 2589:dd68ba8d7a39 in roaraudio
- Timestamp:
- 09/09/09 23:54:58 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/roaraudio.h
r2514 r2589 255 255 #define ROAR_HOST2NET16(x) (x) 256 256 257 #define ROAR_BE2HOST64(x) (x) 258 #define ROAR_HOST2BE64(x) (x) 259 #define ROAR_BE2HOST32(x) (x) 260 #define ROAR_HOST2BE32(x) (x) 261 #define ROAR_BE2HOST16(x) (x) 262 #define ROAR_HOST2BE16(x) (x) 263 264 #define ROAR_LE2HOST32(x) ROAR_dn_ntohl(x) 265 #define ROAR_HOST2LE32(x) ROAR_dn_htonl(x) 266 #define ROAR_LE2HOST16(x) ROAR_dn_ntohs(x) 267 #define ROAR_HOST2LE16(x) ROAR_dn_htons(x) 268 257 269 #ifdef ROAR_HAVE_LIBDNET 258 270 #define ROAR_dn_ntohs(x) ((((x)&0x0ff)<<8) | (((x)&0xff00)>>8)) … … 282 294 #define ROAR_HOST2NET16(x) htons((x)) 283 295 296 #define ROAR_BE2HOST32(x) ntohl(x) 297 #define ROAR_HOST2BE32(x) htonl(x) 298 #define ROAR_BE2HOST16(x) ntohs(x) 299 #define ROAR_HOST2BE16(x) htons(x) 300 301 #define ROAR_LE2HOST64(x) (x) 302 #define ROAR_HOST2LE64(x) (x) 303 #define ROAR_LE2HOST32(x) (x) 304 #define ROAR_HOST2LE32(x) (x) 305 #define ROAR_LE2HOST16(x) (x) 306 #define ROAR_HOST2LE16(x) (x) 307 284 308 #ifdef ROAR_HAVE_LIBDNET 285 309 #if BYTE_ORDER == LITTLE_ENDIAN
Note: See TracChangeset
for help on using the changeset viewer.