Changeset 5640:00dd1147ce70 in roaraudio for roard/include
- Timestamp:
- 09/10/12 16:18:22 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/client.h
r5607 r5640 89 89 enum roard_proto_type { 90 90 ROARD_PROTO_TYPE_BUILDIN = 0, 91 ROARD_PROTO_TYPE_ROARDPROTO = 1, 91 // ROARD_PROTO_TYPE_ROARDPROTO = 1, // old. Removed in 1.0beta6. 92 92 ROARD_PROTO_TYPE_COMMON = 2 93 93 }; … … 101 101 union { 102 102 int buildin; // dummy 103 struct roard_proto roardproto;104 // add common here when ready.105 103 const struct roar_dl_proto * common; 106 104 } impl; … … 143 141 const struct roard_proto_handle * clients_get_protohandle(const int proto); 144 142 int clients_register_proto_common(const struct roar_dl_proto * proto, struct roar_dl_lhandle * lhandle); 145 int clients_register_proto (struct roard_proto * proto, struct roar_dl_lhandle * lhandle);146 143 int clients_unregister_proto(int proto); 147 144 void print_protolist (enum output_format format); -
roard/include/emul_esd.h.OLD
r5381 r5640 48 48 49 49 int emul_esd_exec_command (int client, int cmd, struct roar_vio_calls * vio); 50 int emul_esd_check_client (int client, struct roar_vio_calls * vio );50 int emul_esd_check_client (int client, struct roar_vio_calls * vio, struct roar_buffer ** obuffer, void ** userdata, const struct roar_keyval * protopara, ssize_t protoparalen, struct roar_dl_librarypara * pluginpara); 51 51 52 52 int emul_esd_int_read_buf (int client, int * data, void * buf); -
roard/include/emul_gopher.h.OLD
r5381 r5640 29 29 #include <roaraudio.h> 30 30 31 int emul_gopher_check_client(int client, struct roar_vio_calls * vio );32 int emul_gopher_flushed_client(int client, struct roar_vio_calls * vio );31 int emul_gopher_check_client(int client, struct roar_vio_calls * vio, struct roar_buffer ** obuffer, void ** userdata, const struct roar_keyval * protopara, ssize_t protoparalen, struct roar_dl_librarypara * pluginpara); 32 int emul_gopher_flushed_client(int client, struct roar_vio_calls * vio, struct roar_buffer ** obuffer, void ** userdata, const struct roar_keyval * protopara, ssize_t protoparalen, struct roar_dl_librarypara * pluginpara); 33 33 34 34 #endif -
roard/include/emul_rplay.h.OLD
r5381 r5640 39 39 }; 40 40 41 int emul_rplay_check_client (int client, struct roar_vio_calls * vio );41 int emul_rplay_check_client (int client, struct roar_vio_calls * vio, struct roar_buffer ** obuffer, void ** userdata, const struct roar_keyval * protopara, ssize_t protoparalen, struct roar_dl_librarypara * pluginpara); 42 42 43 43 int emul_rplay_exec_command (int client, struct roar_vio_calls * vio, char * command); -
roard/include/plugins.h
r5639 r5640 41 41 void print_pluginlist(enum output_format format); 42 42 43 int plugins_reg_proto(struct roard_proto * proto);44 45 #define ROARD_DL_REG__UNI_PRE(name) \46 static int __reg_ ## name(struct roar_dl_librarypara * para, struct roar_dl_libraryinst * lib) { \47 size_t i; \48 \49 (void)para, (void)lib;50 51 #define ROARD_DL_REG__UNI_POST \52 \53 return 0; \54 }55 56 #define ROARD_DL_REG_PROTO(proto) \57 ROARD_DL_REG__UNI_PRE(proto) \58 for (i = 0; i < (sizeof((proto))/sizeof(*(proto))); i++) \59 plugins_reg_proto(&((proto)[i])); \60 ROARD_DL_REG__UNI_POST61 62 // Register Protocol callbacks:63 #define ROARD_DL_REGFN_PROTO() ROAR_DL_PLUGIN_REG(ROAR_DL_FN_PROTO, __reg_proto)64 65 43 // Check version: 66 44 #define ROARD_DL_CHECK_VERSIONS() ROAR_DL_PLUGIN_CHECK_VERSIONS(ROARD_DL_APPNAME, ROARD_DL_ABIVERSION)
Note: See TracChangeset
for help on using the changeset viewer.