about summary refs log tree commit diff stats
path: root/inc/netascii.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/netascii.h')
-rw-r--r--inc/netascii.h9
1 files changed, 9 insertions, 0 deletions
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 <stdint.h>
+
+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