Changeset 5275:811818eb5b81 in roaraudio for roard/include
- Timestamp:
- 11/19/11 22:54:26 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/client.h
r5192 r5275 76 76 struct roard_proto { 77 77 int proto; 78 int subsystems; 79 const char * description; 78 80 int (*new_client)(int client, struct roar_vio_calls * vio, struct roard_listen * lsock); 79 81 int (*check_client)(int client, struct roar_vio_calls * vio); … … 114 116 115 117 // proto support 116 int clients_register_proto(struct roard_proto * proto); 118 int clients_register_proto (struct roard_proto * proto); 119 int clients_unregister_proto(int proto); 120 void print_protolist (enum output_format format); 117 121 118 122 // stream functions -
roard/include/plugins.h
r5266 r5275 29 29 #include <roaraudio.h> 30 30 31 #define ROARD_DL_APPNAME "roard <0/RoarAudio>" 32 #define ROARD_DL_ABIVERSION NULL 33 31 34 struct roard_plugins_sched { 32 35 int (*init)(void); … … 40 43 int plugins_update (void); 41 44 42 int plugins_load (const char * filename );45 int plugins_load (const char * filename, const char * args); 43 46 44 47 int plugins_reg_sched(struct roard_plugins_sched * sched); … … 62 65 ROARD_DL_REG__UNI_POST 63 66 67 // Register Scheduler callbacks: 64 68 #define ROARD_DL_REGFN_SCHED() ROAR_DL_PLUGIN_REG(ROAR_DL_FN_ROARDSCHED, __reg_sched) 65 69 … … 70 74 ROARD_DL_REG__UNI_POST 71 75 76 // Register Protocol callbacks: 72 77 #define ROARD_DL_REGFN_PROTO() ROAR_DL_PLUGIN_REG(ROAR_DL_FN_PROTO, __reg_proto) 78 79 // Check version: 80 #define ROARD_DL_CHECK_VERSIONS() ROAR_DL_PLUGIN_CHECK_VERSIONS(ROARD_DL_APPNAME, ROARD_DL_ABIVERSION) 73 81 74 82 #endif
Note: See TracChangeset
for help on using the changeset viewer.