LibInsane: /build/libinsane/src/libinsane/subprojects/libinsane/include/libinsane/normalizers.h Source File

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

Loading...
Searching...
No Matches
normalizers.h
Go to the documentation of this file.
1#ifndef __LIBINSANE_NORMALIZERS_H
2#define __LIBINSANE_NORMALIZERS_H
3
4#include "capi.h"
5
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
29 extern enum lis_error lis_api_normalizer_source_nodes(
30 struct lis_api *to_wrap, struct lis_api **out_impl
31);
32
33
48 extern enum lis_error lis_api_normalizer_min_one_source(
49 struct lis_api *to_wrap, struct lis_api **out_impl
50);
51
52
70 extern enum lis_error lis_api_normalizer_all_opts_on_all_sources(
71 struct lis_api *to_wrap, struct lis_api **out_impl
72);
73
74
94 extern enum lis_error lis_api_normalizer_opt_aliases(
95 struct lis_api *to_wrap, struct lis_api **out_impl
96);
97
98
116 extern enum lis_error lis_api_normalizer_resolution(
117 struct lis_api *to_wrap, struct lis_api **out_impl
118);
119
120
135 extern enum lis_error lis_api_normalizer_source_types(
136 struct lis_api *to_wrap, struct lis_api **out_impl
137);
138
139
161 extern enum lis_error lis_api_normalizer_bmp2raw(
162 struct lis_api *to_wrap, struct lis_api **out_impl
163);
164
165
179 extern enum lis_error lis_api_normalizer_raw24(
180 struct lis_api *to_wrap, struct lis_api **out_impl
181);
182
220 extern enum lis_error lis_api_normalizer_safe_defaults(
221 struct lis_api *to_wrap, struct lis_api **out_impl
222);
223
224
246 extern enum lis_error lis_api_normalizer_source_names(
247 struct lis_api *to_wrap, struct lis_api **out_impl
248);
249
250
283 extern enum lis_error lis_api_normalizer_clean_dev_descs(
284 struct lis_api *to_wrap, struct lis_api **out_impl
285);
286
287
288#ifdef __cplusplus
289}
290#endif
291
292#endif
capi.h
lis_error
lis_error
Definition error.h:13
lis_api_normalizer_clean_dev_descs
enum lis_error lis_api_normalizer_clean_dev_descs(struct lis_api *to_wrap, struct lis_api **out_impl)
Clean device descriptors (name, model, etc)
lis_api_normalizer_raw24
enum lis_error lis_api_normalizer_raw24(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure the output format is RAW24.
lis_api_normalizer_bmp2raw
enum lis_error lis_api_normalizer_bmp2raw(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure the output format is RAW.
lis_api_normalizer_safe_defaults
enum lis_error lis_api_normalizer_safe_defaults(struct lis_api *to_wrap, struct lis_api **out_impl)
Set safest default values.
lis_api_normalizer_source_nodes
enum lis_error lis_api_normalizer_source_nodes(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure that sources are represented as node.
lis_api_normalizer_resolution
enum lis_error lis_api_normalizer_resolution(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure resolution constraint is always in the same format.
lis_api_normalizer_source_types
enum lis_error lis_api_normalizer_source_types(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure source types are clearly identified.
lis_api_normalizer_source_names
enum lis_error lis_api_normalizer_source_names(struct lis_api *to_wrap, struct lis_api **out_impl)
Makes sure the source names all look the same accross OSes.
lis_api_normalizer_min_one_source
enum lis_error lis_api_normalizer_min_one_source(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure there is at least one source.
lis_api_normalizer_opt_aliases
enum lis_error lis_api_normalizer_opt_aliases(struct lis_api *to_wrap, struct lis_api **out_impl)
Make aliases for some options.
lis_api_normalizer_all_opts_on_all_sources
enum lis_error lis_api_normalizer_all_opts_on_all_sources(struct lis_api *to_wrap, struct lis_api **out_impl)
Ensure all options are available on sources.
lis_api
LibInsane C API.
Definition capi.h:422