Event C interface.
More...
Event C interface.
◆ l4re_event_get_axis_info()
long l4re_event_get_axis_info |
( |
const l4_cap_idx_t |
server, |
|
|
l4_umword_t |
id, |
|
|
unsigned |
naxes, |
|
|
unsigned const * |
axis, |
|
|
l4re_event_absinfo_t * |
info |
|
) |
| |
Get Axis information for a stream.
- Parameters
-
| server | Server to talk to. |
| id | Id of the stream to get information from. |
| naxes | Number of axes in axis array. |
[in] | axis | Array of axis IDs whose information should be retrieved. |
[out] | info | Information buffer to store the retrieved axis infos. |
- Return values
-
- See also
- L4Re::Event::get_axis_info
◆ l4re_event_get_buffer()
Get an event signal buffer.
- Parameters
-
server | Server to talk to. |
ds | Buffer to event data. |
- Returns
- 0 for success, <0 on error
- See also
- L4Re::Event::get_buffer
◆ l4re_event_get_num_streams()
long l4re_event_get_num_streams |
( |
const l4_cap_idx_t |
server | ) |
|
◆ l4re_event_get_stream_info()
long l4re_event_get_stream_info |
( |
const l4_cap_idx_t |
server, |
|
|
int |
idx, |
|
|
l4re_event_stream_info_t * |
info |
|
) |
| |
Get information on a stream.
- Parameters
-
| server | Server to talk to. |
| idx | Index value. |
[out] | info | Information buffer. |
- Returns
- 0 for success, <0 on error
- See also
- L4Re::Event::get_stream_info
◆ l4re_event_get_stream_info_for_id()
long l4re_event_get_stream_info_for_id |
( |
const l4_cap_idx_t |
server, |
|
|
l4_umword_t |
stream_id, |
|
|
l4re_event_stream_info_t * |
info |
|
) |
| |
Get info for a stream given a stream id.
- Parameters
-
| server | Server to talk to. |
| stream_id | Stream ID. |
[out] | info | Information buffer. |
- Returns
- 0 for success, <0 on error
- See also
- L4Re::Event::get_stream_info_for_id