aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..9b30011
--- /dev/null
+++ b/common.h
@@ -0,0 +1,13 @@
+/* See LICENSE file for copyright and license details. */
+#include "libcharconv.h"
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <libsimple-arg.h>
+
+
+void writeall(const char *s, size_t n);
+void writechar(uint_least32_t cp);
+int convert(enum libcharconv_result (*conv)(const char *, size_t, size_t *, uint_least32_t *, size_t *));