summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/lib/roken/vis-extras.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/heimdal/lib/roken/vis-extras.h')
-rw-r--r--third_party/heimdal/lib/roken/vis-extras.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/third_party/heimdal/lib/roken/vis-extras.h b/third_party/heimdal/lib/roken/vis-extras.h
new file mode 100644
index 0000000..693edf8
--- /dev/null
+++ b/third_party/heimdal/lib/roken/vis-extras.h
@@ -0,0 +1,27 @@
+#ifndef _VIS_EXTRAS_H_
+#define _VIS_EXTRAS_H_
+
+#include <roken.h>
+
+ROKEN_CPP_START
+
+ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ rk_strasvis(char **, const char *, int, const char *);
+
+ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ rk_strasvisx(char **, const char *, size_t, int, const char *);
+
+ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ rk_strrasvis(char **, size_t *, const char *, int, const char *);
+
+ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
+ rk_strrasvisx(char **, size_t *, const char *, size_t, int, const char *);
+
+ROKEN_CPP_END
+
+#define strasvis(a, b, c, d) rk_strasvis(a, b, c, d)
+#define strasvisx(a, b, c, d) rk_strasvisx(a, b, c, d)
+#define strrasvis(a, b, c, d) rk_strrasvis(a, b, c, d)
+#define strrasvisx(a, b, c, d) rk_strrasvisx(a, b, c, d)
+
+#endif /* !_VIS_EXTRAS_H_ */