hdf_io_service_if.h
Overview
Related Modules:
Description:
Declares the structures defining driver service objects and event listeners, as well as the functions for obtaining a driver service object, dispatching a driver service call, and registering or unregistering an event listener.
Since:
1.0
Summary
Data Structures
Typedefs
OnEventReceived) (void priv, uint32_t id, struct HdfSBuf data) |
Functions
HdfIoServiceBind (const char serviceName, mode_t permission) |
struct HdfIoService |
HdfIoServiceRecycle (struct HdfIoService service) |
Destroys a specified driver service object to release resources if it is no longer required. |
HdfDeviceRegisterEventListener (struct HdfIoService target, struct HdfDevEventlistener listener) |
Registers a custom HdfDevEventlistener for listening for events reported by a specified driver service object. |
HdfDeviceUnregisterEventListener (struct HdfIoService target, struct HdfDevEventlistener *listener) |
Unregisters a previously registered HdfDevEventlistener to release resources if it is no longer required. |