<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<book id="index">
  <bookinfo>
    <title>libfprint Reference Manual</title>
    <releaseinfo>
      <para>This document is the API reference for the libfprint library.</para>
      <para>
        The latest version of libfprint, as well as the latest version of
        this API reference, is <ulink role="online-location" url="https://fprint.freedesktop.org/libfprint-dev/">available online</ulink>.
      </para>
    </releaseinfo>
  </bookinfo>

  <part>
    <title>Library Overview</title>
    <xi:include href="intro.xml"/>
    <xi:include href="advanced-topics.xml"/>
    <xi:include href="getting-started.xml"/>
  </part>

  <part>
    <title>Library API Documentation</title>
    <xi:include href="xml/fp-context.xml"/>
    <xi:include href="xml/fp-device.xml"/>
    <xi:include href="xml/fp-image-device.xml"/>
    <xi:include href="xml/fp-print.xml"/>
    <xi:include href="xml/fp-image.xml"/>
  </part>

  <part>
    <title>Writing Drivers</title>
    <chapter id="driver-dev">
      <title>Device methods for drivers</title>
      <xi:include href="xml/fpi-device.xml"/>
      <xi:include href="xml/fpi-image-device.xml"/>
    </chapter>

    <chapter id="driver-helpers">
      <title>USB, SPI and State Machine helpers</title>
      <xi:include href="xml/fpi-spi-transfer.xml"/>
      <xi:include href="xml/fpi-usb-transfer.xml"/>
      <xi:include href="xml/fpi-ssm.xml"/>
      <xi:include href="xml/fpi-log.xml"/>
    </chapter>

    <chapter id="driver-data">
      <title>Binary buffer I/O</title>
      <xi:include href="xml/fpi-byte-reader.xml"/>
      <xi:include href="xml/fpi-byte-writer.xml"/>
    </chapter>

    <chapter id="driver-img">
      <title>Image manipulation</title>
      <xi:include href="xml/fpi-image.xml"/>
      <xi:include href="xml/fpi-assembling.xml"/>
    </chapter>

    <chapter id="driver-print">
      <title>Print handling</title>
      <xi:include href="xml/fpi-print.xml"/>
    </chapter>

    <chapter id="driver-misc">
      <title>Listing drivers</title>
      <xi:include href="xml/fpi-context.xml"/>
    </chapter>
  </part>

  <index id="api-index">
    <title>API Index</title>
    <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
  </index>
  <index id="deprecated-api-index" role="deprecated">
    <title>Index of deprecated API</title>
    <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
  </index>
</book>
