LibInsane  1.0.10
Cross-platform Cross-API Cross-driver Cross-image-scanner Image Scan Library
Functions
safebet.h File Reference
#include "capi.h"
#include "error.h"
Include dependency graph for safebet.h:

Go to the source code of this file.

Functions

enum lis_error lis_safebet (struct lis_api **api)
 Get all the API implementations to access all the OS API and all the workarounds and normalizers and multiplexer that may be useful. More...
 

Function Documentation

◆ lis_safebet()

enum lis_error lis_safebet ( struct lis_api **  api)

Get all the API implementations to access all the OS API and all the workarounds and normalizers and multiplexer that may be useful.

This is the function you should use in most application to get an API.

This function also check various environment variables, making it possible to disable individual workarounds or normalizers.