Changeset 5353:de96f27919bf in roaraudio for plugins/universal


Ignore:
Timestamp:
12/12/11 19:11:39 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

serveral updates to roarpluginrunner and plugin API in general

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/plugin-info.c

    r5342 r5353  
    9999} 
    100100 
     101static void print_env(void) { 
     102 const char * server = roar_libroar_get_server(); 
     103 roar_vio_printf(roar_stdout, "Default server: %s%s%s\n", 
     104                              server == NULL ? "" : "\"", 
     105                              server == NULL ? "<not set>" : server, 
     106                              server == NULL ? "" : "\""); 
     107} 
     108 
    101109static int init  (struct roar_dl_librarypara * para) { 
    102110 print_parameter(para); 
    103111 print_notifycore(para); 
     112 print_env(); 
    104113 print_counter(); 
    105114 return 0; 
Note: See TracChangeset for help on using the changeset viewer.