Changeset 3758:0828b83f016a in roaraudio
- Timestamp:
- 05/02/10 03:18:13 (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/basic.h
r3517 r3758 53 53 int datalen; 54 54 char data[LIBROAR_BUFFER_MSGDATA]; 55 int16_t seq; 56 int32_t flags; 57 int32_t crc; 55 58 }; 56 59 57 60 struct roar_connection { 58 61 int __fh; 62 int32_t flags; 63 struct roar_vio_calls viocon; 64 struct roar_buffer * msgqueue; 59 65 }; 60 66 -
libroar/basic.c
r3722 r3758 370 370 ROAR_DBG("roar_recv_message(*): try to get a response form the server..."); 371 371 372 if ( data ) 372 if ( mes == NULL ) 373 return -1; 374 375 if ( data != NULL ) 373 376 *data = NULL; 377 378 memset(mes, 0, sizeof(struct roar_message)); 374 379 375 380 if ( roar_vio_read(vio, buf, _ROAR_MESS_BUF_LEN) != _ROAR_MESS_BUF_LEN ) {
Note: See TracChangeset
for help on using the changeset viewer.