Changeset 4434:ff895ca43976 in roaraudio for roarclients/roarctl.c
- Timestamp:
- 10/09/10 15:07:17 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarctl.c
r4432 r4434 201 201 #endif 202 202 203 #define _pm(m,n) if ( info->m != NULL ) printf("Server %-15s: %s\n", (n), (info->m)); 203 204 void server_info (struct roar_connection * con) { 204 205 struct roar_server_info * info = roar_server_info(con); … … 209 210 } 210 211 211 if ( info->version != NULL ) 212 printf("Stream version : %s\n", info->version); 212 _pm(version, "version"); 213 _pm(location, "location"); 214 _pm(description, "description"); 215 _pm(contact, "contact"); 216 _pm(serial, "serial"); 217 _pm(address, "address"); 218 _pm(uiurl, "UI URL"); 219 _pm(un.sysname, "System sysname"); 220 _pm(un.release, "System release"); 221 _pm(un.nodename, "System nodename"); 222 _pm(un.machine, "System machine"); 213 223 214 224 roar_server_info_free(info); 215 225 } 226 #undef _pm 216 227 217 228 void server_oinfo (struct roar_connection * con) {
Note: See TracChangeset
for help on using the changeset viewer.