summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-09 21:24:00 -0500
committermidipix <writeonce@midipix.org>2017-11-25 11:30:31 -0500
commit28281b0ec15c9685edc5b7df6f965923f390d0c0 (patch)
treeaa43fe9b50bd390881db8cd75e56c8065a464ef4 /include
parentc9d3ad10bc99d4dfff160790bc40990f60f7a93c (diff)
downloadu16ports-28281b0ec15c9685edc5b7df6f965923f390d0c0.tar.bz2
u16ports-28281b0ec15c9685edc5b7df6f965923f390d0c0.tar.xz
public api: added forward declarations.
Diffstat (limited to 'include')
-rw-r--r--include/u16ports/u16ports.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/u16ports/u16ports.h b/include/u16ports/u16ports.h
index fbce171..d137f6a 100644
--- a/include/u16ports/u16ports.h
+++ b/include/u16ports/u16ports.h
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <unistd.h>
+#include <wchar.h>
#include <sys/types.h>
#include "u16ports_api.h"
@@ -11,6 +12,43 @@
extern "C" {
#endif
+
+u16_api int u16_mbsinit (const mbstate_t *);
+u16_api size_t u16_mbrtowc (uint16_t *, const char * , size_t, mbstate_t *);
+u16_api size_t u16_mbsrtowcs (uint16_t *, const char **, size_t, mbstate_t *);
+u16_api size_t u16_mbsnrtowcs (uint16_t *, const char **, size_t, size_t, mbstate_t *);
+
+u16_api size_t u16_mbstowcs (uint16_t *, const char *, size_t);
+u16_api size_t u16_wcstombs (char *, const uint16_t *, size_t);
+
+u16_api size_t u16_wcslen (const uint16_t *);
+u16_api size_t u16_wcsnlen (const uint16_t *, size_t);
+
+u16_api size_t u16_wcsspn (const uint16_t *, const uint16_t *);
+u16_api size_t u16_wcscspn (const uint16_t *, const uint16_t *);
+
+u16_api int u16_wcscmp (const uint16_t *, const uint16_t *);
+u16_api int u16_wcsncmp (const uint16_t *, const uint16_t *, size_t);
+
+u16_api uint16_t * u16_wcscpy (uint16_t *, const uint16_t *);
+u16_api uint16_t * u16_wcsncpy (uint16_t *, const uint16_t *, size_t);
+
+u16_api uint16_t * u16_wcpcpy (uint16_t *, const uint16_t *);
+u16_api uint16_t * u16_wcpncpy (uint16_t *, const uint16_t *, size_t);
+
+u16_api uint16_t * u16_wcsdup (const uint16_t *);
+u16_api uint16_t * u16_wcsndup (const uint16_t *, size_t);
+
+u16_api uint16_t * u16_wcscat (uint16_t *, const uint16_t *);
+u16_api uint16_t * u16_wcsncat (uint16_t *, const uint16_t *, size_t);
+
+u16_api uint16_t * u16_wcschr (const uint16_t *, uint16_t);
+u16_api uint16_t * u16_wcsrchr (const uint16_t *, uint16_t);
+
+u16_api uint16_t * u16_wcsstr (const uint16_t *, const uint16_t *);
+u16_api uint16_t * u16_wcsrstr (const uint16_t *, const uint16_t *);
+
+
#ifdef __cplusplus
}
#endif