LibInsane: /build/libinsane/src/libinsane/subprojects/libinsane/include/libinsane/safebet.h File Reference

| LibInsane 1.0.10 Cross-platform Cross-API Cross-driver Cross-image-scanner Image Scan Library

Loading...
Searching...
No Matches
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.

## Function Documentation

## ◆ lis_safebet()

enum lis_error lis_safebet | ( | struct lis_api ** | api | ) |
| extern

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.