stub in initial libtls standalone tree
This commit is contained in:
27
libtls-standalone/include/Makefile.am
Normal file
27
libtls-standalone/include/Makefile.am
Normal 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
|
28
libtls-standalone/include/string.h
Normal file
28
libtls-standalone/include/string.h
Normal 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
|
Reference in New Issue
Block a user