]> git.datanom.net - lensdb.git/blob - lib/scanner.h
Fix collecting lens data
[lensdb.git] / lib / scanner.h
1 /*
2 * scanner.h
3 *
4 * Copyright 2024 Michael Rasmussen <mir@datanom.net>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 *
21 *
22 */
23
24 #ifndef _SCANNER_H_
25 #define _SCANNER_H_
26
27 #include <glib.h>
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 typedef struct Scanner Scanner_t;
34
35 Scanner_t* scanner_create(const char* file);
36
37 void scanner_destroy(Scanner_t* s);
38
39 gchar* get_lens_maker(Scanner_t* s);
40 gchar* get_lens_info(Scanner_t* s);
41 gchar* get_lens_serial_number(Scanner_t* s);
42
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48
49 #endif /* _SCANNER_H_ */
This page took 0.579916 seconds and 6 git commands to generate.