From c6240b9162f104583218c1100c18be00a5584ca1 Mon Sep 17 00:00:00 2001 From: Ren Kararou Date: Fri, 20 Dec 2024 17:25:44 -0600 Subject: implement netascii --- inc/netascii.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 inc/netascii.h (limited to 'inc/netascii.h') diff --git a/inc/netascii.h b/inc/netascii.h new file mode 100644 index 0000000..096b1c3 --- /dev/null +++ b/inc/netascii.h @@ -0,0 +1,9 @@ +#ifndef NBD_NETASCII_H +#define NBD_NETASCII_H +#include + +uint8_t is_netascii_char(char c); +uint8_t is_netascii_str(char* str); +uint8_t is_netascii_buf(char* buf, uint64_t len); + +#endif -- cgit 1.4.1-2-gfad0