From ad541c67761b8aa6da1566802c347cac4018d0c2 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 2 Nov 2026 20:50:24 +0100 Subject: Move the build sources into src/ --- ot_hex.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 ot_hex.h (limited to 'ot_hex.h') diff --git a/ot_hex.h b/ot_hex.h deleted file mode 100644 index ddbbb44..0000000 --- a/ot_hex.h +++ /dev/null @@ -1,27 +0,0 @@ -/* This software was written by Dirk Engling - It is considered beerware. Prost. Skol. Cheers or whatever. */ - -#ifndef OT_HEX_H__ -#define OT_HEX_H__ - -#include - -#include "trackerlogic.h" - -/* Write hash as forty upper case hex digits followed by a terminating zero. - dest must have room for forty one bytes. Returns dest. */ -char *hex_from_hash(char *dest, const uint8_t *hash); - -/* Read forty hex digits from src into hash. Returns non-zero on success. - On failure hash is left untouched and no byte of src beyond the offending - character is read, so src need not be forty characters long. */ -int hex_to_hash(ot_hash hash, const char *src); - -/* Non-zero if c is a hexadecimal digit, in either case. */ -int hex_isdigit(int c); - -/* The value of a hexadecimal digit, or -1 if c is not one. Shared with the - address scanner so that both agree on what a digit is. */ -int hex_value(int c); - -#endif -- cgit v1.3