Changeset 5567:6ecf012d7063 in roaraudio for roard/include/client.h
- Timestamp:
- 07/16/12 17:02:17 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/client.h
r5448 r5567 87 87 }; 88 88 89 enum roard_proto_type { 90 ROARD_PROTO_TYPE_BUILDIN = 0, 91 ROARD_PROTO_TYPE_ROARDPROTO = 1, 92 ROARD_PROTO_TYPE_COMMON = 2 93 }; 94 95 struct roard_proto_handle { 96 int proto; 97 struct roar_dl_lhandle * lhandle; 98 enum roard_proto_type type; 99 union { 100 int buildin; // dummy 101 struct roard_proto roardproto; 102 // add common here when ready. 103 } impl; 104 }; 105 89 106 #define MAX_PROTOS 8 90 extern struct roard_proto g_proto[MAX_PROTOS];91 107 92 108 // basic functions … … 119 135 120 136 // proto support 137 const struct roard_proto_handle * clients_get_protohandle(const int proto); 121 138 int clients_register_proto (struct roard_proto * proto, struct roar_dl_lhandle * lhandle); 122 139 int clients_unregister_proto(int proto);
Note: See TracChangeset
for help on using the changeset viewer.