stub in initial libtls standalone tree

This commit is contained in:
Brent Cook
2015-04-30 04:44:35 -05:00
parent 7de7605b95
commit 28353c1df1
14 changed files with 403 additions and 118 deletions

View File

@@ -0,0 +1,27 @@
#noinst_HEADERS = err.h
#noinst_HEADERS += netdb.h
#noinst_HEADERS += poll.h
#noinst_HEADERS += pqueue.h
#noinst_HEADERS += stdio.h
#noinst_HEADERS += stdlib.h
#noinst_HEADERS += string.h
#noinst_HEADERS += syslog.h
#noinst_HEADERS += unistd.h
#noinst_HEADERS += win32netcompat.h
#
#noinst_HEADERS += arpa/inet.h
#
#noinst_HEADERS += machine/endian.h
#
#noinst_HEADERS += netinet/in.h
#noinst_HEADERS += netinet/tcp.h
#
#noinst_HEADERS += sys/ioctl.h
#noinst_HEADERS += sys/mman.h
#noinst_HEADERS += sys/select.h
#noinst_HEADERS += sys/socket.h
#noinst_HEADERS += sys/times.h
#noinst_HEADERS += sys/types.h
#noinst_HEADERS += sys/uio.h
include_HEADERS = tls.h

View File

@@ -0,0 +1,28 @@
/*
* Public domain
* string.h compatibility shim
*/
#include_next <string.h>
#ifndef LIBCRYPTOCOMPAT_STRING_H
#define LIBCRYPTOCOMPAT_STRING_H
#include <sys/types.h>
#if defined(__sun) || defined(__hpux)
/* Some functions historically defined in string.h were placed in strings.h by
* SUS. Use the same hack as OS X and FreeBSD use to work around on Solaris and HPUX.
*/
#include <strings.h>
#endif
#ifndef HAVE_EXPLICIT_BZERO
void explicit_bzero(void *, size_t);
#endif
#ifndef HAVE_STRSEP
char *strsep(char **stringp, const char *delim);
#endif
#endif