summaryrefslogtreecommitdiff
path: root/ot_hex.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-24 17:21:47 +0200
committerDirk Engling <erdgeist@erdgeist.org>2026-10-24 17:21:47 +0200
commit60f55f34eeec70842b21accdd7fc0dc5d89493a2 (patch)
tree21a50b9d936df6b4348d6d1c95681a4269165804 /ot_hex.h
parentea9c9a1766f1ce716c359fc04628855293fcffbd (diff)
Add an ip address parser and formatter for all formats opentracker needs
Diffstat (limited to 'ot_hex.h')
-rw-r--r--ot_hex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ot_hex.h b/ot_hex.h
index cb2e86f..3b45b61 100644
--- a/ot_hex.h
+++ b/ot_hex.h
@@ -22,4 +22,8 @@ int hex_tohash(ot_hash hash, const char *src);
22/* Non-zero if c is a hexadecimal digit, in either case. */ 22/* Non-zero if c is a hexadecimal digit, in either case. */
23int hex_isdigit(int c); 23int hex_isdigit(int c);
24 24
25/* The value of a hexadecimal digit, or -1 if c is not one. Shared with the
26 address scanner so that both agree on what a digit is. */
27int hex_value(int c);
28
25#endif 29#endif