Changeset 5275:811818eb5b81 in roaraudio for plugins


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

Improved plugin loader a lot (Closes: #190)

Location:
plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • plugins/roard/listenpty.c

    r5267 r5275  
    5959 
    6060ROAR_DL_PLUGIN_START(roard_discard_protocol) { 
     61 ROARD_DL_CHECK_VERSIONS(); 
     62 
     63 libname.license = "GPL-3.0"; 
     64 
    6165 ROARD_DL_REGFN_SCHED(); 
    6266} ROAR_DL_PLUGIN_END 
  • plugins/universal/protocol-daytime.c

    r5193 r5275  
    5959 
    6060static struct roard_proto proto[1] = { 
    61  {ROAR_PROTO_DAYTIME, new_client, NULL, NULL, flushed_client} 
     61 {ROAR_PROTO_DAYTIME, ROAR_SUBSYS_NONE, "The Internet daytime protocol", new_client, NULL, NULL, flushed_client} 
    6262}; 
    6363 
     
    6565 
    6666ROAR_DL_PLUGIN_START(roard_daytime_protocol) { 
     67 ROARD_DL_CHECK_VERSIONS(); 
     68 
     69 libname.license = "GPL-3.0"; 
     70 
    6771 ROARD_DL_REGFN_PROTO(); 
    6872} ROAR_DL_PLUGIN_END 
  • plugins/universal/protocol-discard.c

    r5264 r5275  
    4242 
    4343static struct roard_proto proto[1] = { 
    44  {ROAR_PROTO_DISCARD, NULL, check_client, NULL, NULL} 
     44 {ROAR_PROTO_DISCARD, ROAR_SUBSYS_NONE, "Discard all data send to the server", NULL, check_client, NULL, NULL} 
    4545}; 
    4646 
     
    4848 
    4949ROAR_DL_PLUGIN_START(roard_discard_protocol) { 
     50 ROARD_DL_CHECK_VERSIONS(); 
     51 
     52 libname.license = "GPL-3.0";  
     53 
    5054 ROARD_DL_REGFN_PROTO(); 
    5155} ROAR_DL_PLUGIN_END 
  • plugins/universal/protocol-echo.c

    r5193 r5275  
    5757 
    5858static struct roard_proto proto[1] = { 
    59  {ROAR_PROTO_ECHO, NULL, check_client, NULL, NULL} 
     59 {ROAR_PROTO_ECHO, ROAR_SUBSYS_NONE, "Send all data send to the server back to the client", NULL, check_client, NULL, NULL} 
    6060}; 
    6161 
     
    6363 
    6464ROAR_DL_PLUGIN_START(roard_echo_protocol) { 
     65 ROARD_DL_CHECK_VERSIONS(); 
     66 
     67 libname.license = "GPL-3.0"; 
     68 
    6569 ROARD_DL_REGFN_PROTO(); 
    6670} ROAR_DL_PLUGIN_END 
Note: See TracChangeset for help on using the changeset viewer.