From 6837c5ac80e3624c6dc3a82d03e50d68b2f5a989 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 26 Oct 2026 17:13:36 +0100 Subject: Second run of making variable and function names more readable, urlencoder now matches overall naming scheme --- ot_hex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_hex.h') diff --git a/ot_hex.h b/ot_hex.h index 3b45b61..28eddf5 100644 --- a/ot_hex.h +++ b/ot_hex.h @@ -12,12 +12,12 @@ /* 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_fromhash(char *dest, const uint8_t *hash); +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_tohash(ot_hash hash, const char *src); +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); -- cgit v1.3