| Top |
| HinawaFwResp * | hinawa_fw_resp_new () |
| void | hinawa_fw_resp_register () |
| void | hinawa_fw_resp_unregister () |
| void | hinawa_fw_resp_get_req_frame () |
| void | hinawa_fw_resp_set_resp_frame () |
A HinawaFwResp responds requests from any units.
This class is an application of Linux FireWire subsystem. All of operations utilize ioctl(2) with subsystem specific request commands.
HinawaFwResp *
hinawa_fw_resp_new (void);
Instantiate HinawaFwResp object and return the instance.
Since: 1.3.
void hinawa_fw_resp_register (HinawaFwResp *self,HinawaFwUnit *unit,guint64 addr,guint width,GError **exception);
Start to listen to a range of address in host controller
void
hinawa_fw_resp_unregister (HinawaFwResp *self);
stop to listen to a range of address in host controller
void hinawa_fw_resp_get_req_frame (HinawaFwResp *self,const guint8 **frame,guint *length);
Retrieve byte frame to be requested.
void hinawa_fw_resp_set_resp_frame (HinawaFwResp *self,guint8 *frame,guint length);
Register byte frame as response.
“requested” signalHinawaFwRcode user_function (HinawaFwResp *self, HinawaFwTcode tcode, gpointer user_data)
When any units transfer requests to the range of address to which this object listening. The ::requested signal handler can get data frame by a call of ::get_req_frame and set data frame by a call of ::set_resp_frame, then returns rcode.
self |
||
tcode |
One of HinawaTcode enumerators |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last