aboutsummaryrefslogtreecommitdiff
path: root/src/base32.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-26 09:04:11 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-26 09:04:11 +0200
commit3621a04cf020cba747ba75136aec7a575890cceb (patch)
tree1cb7e00db51863beb015f349ac8990db9261a873 /src/base32.h
parent94ea8d1ac53b3aada2c616f84b8e4686ae51054c (diff)
Huge overhall; fix code; remove external deps
Diffstat (limited to 'src/base32.h')
-rw-r--r--src/base32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/base32.h b/src/base32.h
new file mode 100644
index 0000000..2581878
--- /dev/null
+++ b/src/base32.h
@@ -0,0 +1,10 @@
+#ifndef TOTP_BASE32_H
+#define TOTP_BASE32_H
+
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+
+bool b32toa(uint8_t *restrict, const char *restrict, size_t);
+
+#endif /* !TOTP_BASE32_H */