Commit a97ae3bc authored by Bastien Nocera's avatar Bastien Nocera

doc: Add fpi-async section to the docs

parent 53d2fb3a
......@@ -43,6 +43,7 @@
<xi:include href="xml/fpi-dev-img.xml"/>
<xi:include href="xml/fpi-core.xml"/>
<xi:include href="xml/fpi-core-img.xml"/>
<xi:include href="xml/fpi-async.xml"/>
<xi:include href="xml/fpi-ssm.xml"/>
<xi:include href="xml/fpi-poll.xml"/>
<xi:include href="xml/fpi-img.xml"/>
......
......@@ -237,6 +237,25 @@ FP_IMGDRV_SUPPORTS_UNCONDITIONAL_CAPTURE
fp_img_driver
</SECTION>
<SECTION>
<INCLUDE>fpi-async.h</INCLUDE>
<FILE>fpi-async</FILE>
fpi_drvcb_capture_started
fpi_drvcb_capture_stopped
fpi_drvcb_close_complete
fpi_drvcb_enroll_stage_completed
fpi_drvcb_enroll_started
fpi_drvcb_enroll_stopped
fpi_drvcb_identify_started
fpi_drvcb_identify_stopped
fpi_drvcb_open_complete
fpi_drvcb_report_capture_result
fpi_drvcb_report_identify_result
fpi_drvcb_report_verify_result
fpi_drvcb_verify_started
fpi_drvcb_verify_stopped
</SECTION>
<SECTION>
<INCLUDE>fpi-img.h</INCLUDE>
<FILE>fpi-img</FILE>
......
......@@ -26,6 +26,14 @@
#include <errno.h>
#include <glib.h>
/**
* SECTION:fpi-async
* @title: Asynchronous operations reporting
*
* Those functions are used by primitive drivers to report back their
* current status. Most drivers, imaging ones, do not need to use them.
*/
/* Drivers call this when device initialisation has completed */
void fpi_drvcb_open_complete(struct fp_dev *dev, int status)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment