Changeset b66d43b in mainline for uspace/lib/hound/include/hound/protocol.h
- Timestamp:
- 2013-03-17T19:09:56Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6bd0216
- Parents:
- bd5860f
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/include/hound/protocol.h
rbd5860f rb66d43b 49 49 50 50 hound_context_id_t hound_service_register_context(hound_sess_t *sess, 51 const char *name );51 const char *name, bool record); 52 52 int hound_service_unregister_context(hound_sess_t *sess, hound_context_id_t id); 53 53 … … 60 60 int hound_service_stream_read(async_exch_t *exch, void *data, size_t size); 61 61 62 /* Server */ 63 typedef struct hound_server_iface { 64 int (*add_context)(void *, hound_context_id_t *, const char *, bool); 65 int (*rem_context)(void *, hound_context_id_t); 66 int (*add_stream)(void *, hound_context_id_t, int, pcm_format_t, size_t, 67 void **); 68 int (*rem_stream)(void *, void *); 69 int (*stream_data_write)(void *, const void *, size_t); 70 int (*stream_data_read)(void *, void *, size_t); 71 void *server; 72 } hound_server_iface_t; 73 74 void hound_service_set_server_iface(hound_server_iface_t *iface); 75 76 void hound_connection_handler(ipc_callid_t iid, ipc_call_t *icall, void *arg); 62 77 63 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.