Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
libfprint
libfprint
Commits
f2e3a840
Commit
f2e3a840
authored
Nov 09, 2018
by
Bastien Nocera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Add fpi-core and fpi-core-img sections to the docs
parent
f45c1811
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
doc/libfprint-docs.xml
doc/libfprint-docs.xml
+2
-0
doc/libfprint-sections.txt
doc/libfprint-sections.txt
+14
-0
libfprint/fpi-core.c
libfprint/fpi-core.c
+19
-0
No files found.
doc/libfprint-docs.xml
View file @
f2e3a840
...
...
@@ -40,6 +40,8 @@
<title>
Writing Drivers
</title>
<xi:include
href=
"xml/fpi-log.xml"
/>
<xi:include
href=
"xml/fpi-dev.xml"
/>
<xi:include
href=
"xml/fpi-core.xml"
/>
<xi:include
href=
"xml/fpi-core-img.xml"
/>
<xi:include
href=
"xml/fpi-ssm.xml"
/>
<xi:include
href=
"xml/fpi-poll.xml"
/>
<xi:include
href=
"xml/fpi-img.xml"
/>
...
...
doc/libfprint-sections.txt
View file @
f2e3a840
...
...
@@ -197,6 +197,20 @@ fp_dev_set_instance_data
FP_INSTANCE_DATA
</SECTION>
<SECTION>
<INCLUDE>fpi-core.h</INCLUDE>
<FILE>fpi-core</FILE>
usb_id
fp_driver_type
</SECTION>
<SECTION>
<INCLUDE>fpi-core.h</INCLUDE>
<FILE>fpi-core-img</FILE>
FP_IMGDRV_SUPPORTS_UNCONDITIONAL_CAPTURE
fp_img_driver
</SECTION>
<SECTION>
<INCLUDE>fpi-img.h</INCLUDE>
<FILE>fpi-img</FILE>
...
...
libfprint/fpi-core.c
View file @
f2e3a840
...
...
@@ -111,6 +111,25 @@ GSList *opened_devices = NULL;
* verification) on some devices which do not provide images.
*/
/**
* SECTION:fpi-core
* @title: Driver structures
*
* Driver structures need to be defined inside each driver in
* order for the core library to know what function to call, and the capabilities
* of the driver and the devices it supports.
*/
/**
* SECTION:fpi-core-img
* @title: Image driver structures
*
* Image driver structures need to be defined inside each image driver in
* order for the core library to know what function to call, and the capabilities
* of the driver and the devices it supports. Its structure is based off the
* #fp_driver struct.
*/
static
GSList
*
registered_drivers
=
NULL
;
static
void
register_driver
(
struct
fp_driver
*
drv
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment