Changeset 3836:83dbb40a308c in roaraudio
- Timestamp:
- 05/16/10 22:02:39 (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/basic.h
r3758 r3836 66 66 67 67 68 int roar_connect_raw (char * server);68 int roar_connect_raw (char * server); 69 69 70 int roar_connect (struct roar_connection * con, char * server);71 int roar_connect_fh (struct roar_connection * con, int fh);70 int roar_connect (struct roar_connection * con, char * server); 71 int roar_connect_fh (struct roar_connection * con, int fh); 72 72 int roar_get_connection_fh (struct roar_connection * con); 73 73 int roar_get_connection_vio (struct roar_connection * con, struct roar_vio_calls * vio); 74 int roar_disconnect (struct roar_connection * con);74 int roar_disconnect (struct roar_connection * con); 75 75 76 int roar_identify (struct roar_connection * con, char * name); 76 int roar_noop (struct roar_connection * con); 77 78 int roar_identify (struct roar_connection * con, char * name); 77 79 78 80 int roar_send_message (struct roar_connection * con, struct roar_message * mes, char * data); … … 84 86 int roar_vreq (struct roar_vio_calls * vio, struct roar_message * mes, char ** data); 85 87 86 int roar_debug_message_print (struct roar_message * mes); 87 88 int roar_debug_message_print (struct roar_message * mes); 88 89 int roar_debug_audio_info_print (struct roar_audio_info * info); 89 90 -
libroar/basic.c
r3758 r3836 275 275 } 276 276 277 int roar_noop (struct roar_connection * con) { 278 struct roar_message mes; 279 280 if ( con == NULL ) { 281 return -1; 282 } 283 284 memset(&mes, 0, sizeof(mes)); 285 286 mes.cmd = ROAR_CMD_NOOP; 287 288 return roar_req(con, &mes, NULL); 289 } 290 277 291 int roar_identify (struct roar_connection * con, char * name) { 278 292 struct roar_message mes;
Note: See TracChangeset
for help on using the changeset viewer.