aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnetz/database.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2019-06-29 07:49:28 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2019-06-30 14:51:01 +0200
commit13245c56f64ddee03fda5bca7723dffa1360c4a1 (patch)
tree33bea3e00805c2b716547f9cfaa7efad002c1dd7 /src/cnetz/database.h
parent5d9a9b59c363bfc52a0f92b08bdbca082806804d (diff)
C-Netz: Add authentication support (process only)
No real authentication, since the algorithm and the keys inside the cards are not known. A challenge can be specified and optionally the response can be verified.
Diffstat (limited to 'src/cnetz/database.h')
-rw-r--r--src/cnetz/database.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cnetz/database.h b/src/cnetz/database.h
index de0226c..a1339a0 100644
--- a/src/cnetz/database.h
+++ b/src/cnetz/database.h
@@ -1,6 +1,6 @@
-int update_db(cnetz_t *cnetz, uint8_t futln_nat, uint8_t futln_fuvst, uint16_t futln_rest, int extended, int busy, int failed);
-int find_db(uint8_t futln_nat, uint8_t futln_fuvst, uint16_t futln_rest);
+int update_db(cnetz_t *cnetz, uint8_t futln_nat, uint8_t futln_fuvst, uint16_t futln_rest, int *futelg_bit, int *extended, int busy, int failed);
+int find_db(uint8_t futln_nat, uint8_t futln_fuvst, uint16_t futln_rest, int *futelg_bit, int *extended);
void flush_db(void);
void dump_db(void);