core: remove device-fingerprint C access code

No need to have this code, as all callers are now C++.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-05-31 08:22:30 +02:00 committed by bstoeger
parent 73f2605ab1
commit 2fd226964c
9 changed files with 69 additions and 128 deletions

View file

@ -12,9 +12,11 @@
#include <sqlite3.h>
#include <string>
#include <time.h>
#include <vector>
struct xml_params;
struct divelog;
struct fingerprint_record;
/*
* Dive info as it is being built up..
@ -82,7 +84,8 @@ struct parser_state {
struct { std::string key; std::string value; } cur_extra_data;
struct units xml_parsing_units;
struct divelog *log = nullptr; /* non-owning */
struct fingerprint_table *fingerprints = nullptr; /* non-owning */
std::vector<fingerprint_record> *fingerprints = nullptr;
/* non-owning */
sqlite3 *sql_handle = nullptr; /* for SQL based parsers */
bool event_active = false;