1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/lib/replace
Stefan Metzmacher 1a766af41e r25695: [libreplace] fix the standalone build of libreplace
all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

metze
(This used to be commit 95462d614d)
2007-12-21 05:43:18 +01:00
..
system r25687: Move #defined for getaddrinfo into network.h (as other 2007-12-21 05:43:14 +01:00
test r24674: Make sure results are always on a new line, fix typo in test name. 2007-10-10 15:02:37 -05:00
.checker_innocent r19120: silence a warning about a test function 2007-10-10 14:20:37 -05:00
aclocal.m4 r18485: include libreplace.m4 in the aclocal.m4 files 2007-10-10 14:18:36 -05:00
autoconf-2.60.m4 r22658: - add AC_GNU_SOURCE macro for systems which don't have it 2007-10-10 14:51:58 -05:00
autogen.sh r18088: sometimes autoconf picks up some old stuff: 2007-10-10 14:17:14 -05:00
config.guess r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 14:59:16 -05:00
config.sub r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 14:59:16 -05:00
configure.ac r25231: revert hunk that was commited together with the change to gplv3 2007-10-10 15:06:58 -05:00
dlfcn.c r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
dlfcn.m4 r25098: Fix typo 2007-10-10 15:06:36 -05:00
getaddrinfo.c r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo 2007-10-10 15:07:51 -05:00
getaddrinfo.h r25687: Move #defined for getaddrinfo into network.h (as other 2007-12-21 05:43:14 +01:00
getpass.c r25685: rename getsmbpass -> rep_getpass and provide the function prototype 2007-12-21 05:43:13 +01:00
getpass.m4 r25683: fix the compilation of getpass.c and it's configure test 2007-12-21 05:43:12 +01:00
inet_ntop.c r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo 2007-10-10 15:07:51 -05:00
inet_ntop.m4 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo 2007-10-10 15:07:51 -05:00
inet_pton.c r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo 2007-10-10 15:07:51 -05:00
inet_pton.m4 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo 2007-10-10 15:07:51 -05:00
install-sh r18033: added install-sh, needed for standalone libreplace build 2007-10-10 14:17:05 -05:00
libreplace_cc.m4 r25515: Revert r25448: 2007-10-10 15:07:46 -05:00
libreplace_macros.m4 r25695: [libreplace] fix the standalone build of libreplace 2007-12-21 05:43:18 +01:00
libreplace.m4 r25695: [libreplace] fix the standalone build of libreplace 2007-12-21 05:43:18 +01:00
Makefile.in r23306: pass down LDFLAGS to the link command in the libreplace standalone build 2007-10-10 14:53:10 -05:00
README r25556: Update README. 2007-10-10 15:07:56 -05:00
repdir_getdents.c r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
repdir_getdirentries.c r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
repdir.m4 r19032: let the getdents replacement fail and see what the build-farm says. 2007-10-10 14:20:30 -05:00
replace.c r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
replace.h r25602: don't imply "system/network.h" within replace.h, 2007-12-21 05:42:47 +01:00
samba.m4 r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case. 2007-10-10 14:49:42 -05:00
snprintf.c r21174: many thanks to Paul Wayper for pointing out that C99 requires a 2007-10-10 14:44:42 -05:00
strptime.c r23800: LGPL is now called GNU Lesser General Public License 2007-10-10 14:59:17 -05:00
strptime.m4 r22216: move strptime testsuite into it's own file 2007-10-10 14:50:38 -05:00
timegm.c r19408: I think tm_mon is ending up as -1 on some platforms 2007-10-10 14:21:27 -05:00
timegm.m4 r18460: split out timegm test and only add timegm.o when needed 2007-10-10 14:18:33 -05:00
win32_replace.h r18458: move wins32 stuff to the top dir 2007-10-10 14:18:33 -05:00
win32.m4 r18458: move wins32 stuff to the top dir 2007-10-10 14:18:33 -05:00

This subsystem ensures that we can always use a certain core set of 
functions and types, that are either provided by the OS or by replacement 
functions / definitions in this subsystem. The aim is to try to stick 
to POSIX functions in here as much as possible. Convenience functions 
that are available on no platform at all belong in other subsystems
(such as LIBUTIL).

The following functions are guaranteed:

ftruncate
strlcpy
strlcat
mktime
rename
initgroups
memmove
strdup
inet_ntoa
setlinebuf
vsyslog
timegm
setenv
unsetenv
strndup
strnlen
waitpid
seteuid
setegid
asprintf
snprintf
vasprintf
vsnprintf
opendir
readdir
telldir
seekdir
closedir
dlopen
dlclose
dlsym
dlerror
chroot
bzero
strerror
errno
mkdtemp
mkstemp (a secure one!)
pread
pwrite
getpass
readline (the library)
inet_ntoa
inet_ntop
inet_pton
strtoll
strtoull
socketpair
strptime
getaddrinfo
freeaddrinfo
getnameinfo
gai_strerror

Types:
bool
socklen_t
uint_t
uint{8,16,32,64}_t
int{8,16,32,64}_t
intptr_t

Constants:
PATH_NAME_MAX
UINT{16,32,64}_MAX
INT32_MAX
RTLD_LAZY
HOST_NAME_MAX
UINT16_MAX
UINT32_MAX
UINT64_MAX
CHAR_BIT

Macros:
va_copy
__FUNCTION__
__FILE__
__LINE__
__LINESTR__
__location__
__STRING
__STRINGSTRING
MIN
MAX
QSORT_CAST
ZERO_STRUCT
ZERO_STRUCTP
ZERO_STRUCTPN
ZERO_ARRAY
ARRAY_SIZE
PTR_DIFF

Headers:
stdint.h
stdbool.h

Prerequisites:
memset (for bzero)
syslog (for vsyslog)
mktemp (for mkstemp and mkdtemp)