diff options
author | Ren Kararou <[email protected]> | 2024-12-20 17:25:44 -0600 |
---|---|---|
committer | Ren Kararou <[email protected]> | 2024-12-20 17:25:44 -0600 |
commit | c6240b9162f104583218c1100c18be00a5584ca1 (patch) | |
tree | 1a7f0dc60d5ff1368370c59a86baead6e954a7fa /inc/netascii.h | |
parent | 91033b583a9b4adede6866a6baf23304edf28871 (diff) | |
download | nbtpd-c6240b9162f104583218c1100c18be00a5584ca1.tar.gz nbtpd-c6240b9162f104583218c1100c18be00a5584ca1.tar.bz2 nbtpd-c6240b9162f104583218c1100c18be00a5584ca1.zip |
implement netascii
Diffstat (limited to 'inc/netascii.h')
-rw-r--r-- | inc/netascii.h | 9 |
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 |