diff options
| author | Brent Cook <busterb@gmail.com> | 2015-04-30 04:44:35 -0500 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2015-05-23 19:26:51 -0500 |
| commit | 28353c1df15c3d0482a10ffe33fa34c053af2c2e (patch) | |
| tree | 580bf87a6db90c492dd55594f9612d2442331376 /libtls-standalone/include | |
| parent | 7de7605b95f2cd2d061720376544d511f71dc063 (diff) | |
| download | portable-28353c1df15c3d0482a10ffe33fa34c053af2c2e.tar.gz portable-28353c1df15c3d0482a10ffe33fa34c053af2c2e.tar.bz2 portable-28353c1df15c3d0482a10ffe33fa34c053af2c2e.zip | |
stub in initial libtls standalone tree
Diffstat (limited to 'libtls-standalone/include')
| -rw-r--r-- | libtls-standalone/include/Makefile.am | 27 | ||||
| -rw-r--r-- | libtls-standalone/include/string.h | 28 |
2 files changed, 55 insertions, 0 deletions
diff --git a/libtls-standalone/include/Makefile.am b/libtls-standalone/include/Makefile.am new file mode 100644 index 0000000..7fbefdc --- /dev/null +++ b/libtls-standalone/include/Makefile.am | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | #noinst_HEADERS = err.h | ||
| 2 | #noinst_HEADERS += netdb.h | ||
| 3 | #noinst_HEADERS += poll.h | ||
| 4 | #noinst_HEADERS += pqueue.h | ||
| 5 | #noinst_HEADERS += stdio.h | ||
| 6 | #noinst_HEADERS += stdlib.h | ||
| 7 | #noinst_HEADERS += string.h | ||
| 8 | #noinst_HEADERS += syslog.h | ||
| 9 | #noinst_HEADERS += unistd.h | ||
| 10 | #noinst_HEADERS += win32netcompat.h | ||
| 11 | # | ||
| 12 | #noinst_HEADERS += arpa/inet.h | ||
| 13 | # | ||
| 14 | #noinst_HEADERS += machine/endian.h | ||
| 15 | # | ||
| 16 | #noinst_HEADERS += netinet/in.h | ||
| 17 | #noinst_HEADERS += netinet/tcp.h | ||
| 18 | # | ||
| 19 | #noinst_HEADERS += sys/ioctl.h | ||
| 20 | #noinst_HEADERS += sys/mman.h | ||
| 21 | #noinst_HEADERS += sys/select.h | ||
| 22 | #noinst_HEADERS += sys/socket.h | ||
| 23 | #noinst_HEADERS += sys/times.h | ||
| 24 | #noinst_HEADERS += sys/types.h | ||
| 25 | #noinst_HEADERS += sys/uio.h | ||
| 26 | |||
| 27 | include_HEADERS = tls.h | ||
diff --git a/libtls-standalone/include/string.h b/libtls-standalone/include/string.h new file mode 100644 index 0000000..c42fcba --- /dev/null +++ b/libtls-standalone/include/string.h | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* | ||
| 2 | * Public domain | ||
| 3 | * string.h compatibility shim | ||
| 4 | */ | ||
| 5 | |||
| 6 | #include_next <string.h> | ||
| 7 | |||
| 8 | #ifndef LIBCRYPTOCOMPAT_STRING_H | ||
| 9 | #define LIBCRYPTOCOMPAT_STRING_H | ||
| 10 | |||
| 11 | #include <sys/types.h> | ||
| 12 | |||
| 13 | #if defined(__sun) || defined(__hpux) | ||
| 14 | /* Some functions historically defined in string.h were placed in strings.h by | ||
| 15 | * SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX. | ||
| 16 | */ | ||
| 17 | #include <strings.h> | ||
| 18 | #endif | ||
| 19 | |||
| 20 | #ifndef HAVE_EXPLICIT_BZERO | ||
| 21 | void explicit_bzero(void *, size_t); | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #ifndef HAVE_STRSEP | ||
| 25 | char *strsep(char **stringp, const char *delim); | ||
| 26 | #endif | ||
| 27 | |||
| 28 | #endif | ||
