1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/lib/replace
2008-01-05 23:09:38 +01:00
..
system Host SerNet-AIX has __ss_family instead of ss_family in sockaddr_storage 2007-12-25 18:37:42 +01:00
test r25232: sync lib/replace with SAMBA_4_0 2007-10-10 12:30:52 -05:00
.checker_innocent r20817: sync lib/replace with samba4 2007-10-10 12:17:09 -05:00
aclocal.m4 r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
autoconf-2.60.m4 r22659: merge from SAMBA_4_0: 2007-10-10 12:19:53 -05:00
autogen.sh r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
config.guess r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 12:28:26 -05:00
config.sub r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 12:28:26 -05:00
configure.ac r23309: sync lib/replace with SAMBA_4_0 2007-10-10 12:23:05 -05:00
dlfcn.c Wrap native HPUX functions in dl implementation. 2007-11-06 09:38:58 +01:00
dlfcn.m4 Check for HPUX dl functions. 2007-11-06 09:38:58 +01:00
getaddrinfo.c Fix the snprintf checks, and fix a typo in pointer indirection. 2007-11-02 14:23:10 -07:00
getaddrinfo.h - include getaddrinfo.h after we have defined struct addrinfo 2007-10-25 15:53:44 +02:00
getaddrinfo.m4 libreplace: we need to link to make sure the functions are available 2007-11-08 12:20:16 +01:00
getpass.c Two patches 2007-10-27 12:50:36 -07:00
getpass.m4 Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech Republic <Jiri.Sasek@Sun.COM> 2007-12-11 13:16:35 -08:00
inet_ntop.c r25455: Ensure we have inet_ntop and inet_pton available in lib/replace. 2007-10-10 12:31:06 -05:00
inet_ntop.m4 r25455: Ensure we have inet_ntop and inet_pton available in lib/replace. 2007-10-10 12:31:06 -05:00
inet_pton.c r25455: Ensure we have inet_ntop and inet_pton available in lib/replace. 2007-10-10 12:31:06 -05:00
inet_pton.m4 r25455: Ensure we have inet_ntop and inet_pton available in lib/replace. 2007-10-10 12:31:06 -05:00
install-sh r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
libreplace_cc.m4 r25232: sync lib/replace with SAMBA_4_0 2007-10-10 12:30:52 -05:00
libreplace_ld.m4 selftest: Use platform-specific equivalents of LD_LIBRARY_PATH for Samba4's smbtorture. 2008-01-05 23:09:25 +01:00
libreplace_macros.m4 libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h 2007-11-09 09:53:00 +01:00
libreplace.m4 Fix bug #5121 (unix passwd sync not working on a streams based 2007-12-17 10:44:09 -08:00
Makefile.in r23309: sync lib/replace with SAMBA_4_0 2007-10-10 12:23:05 -05:00
README r25557: merge libreplace fixes from samba4 2007-10-10 12:31:13 -05:00
repdir_getdents.c r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 12:28:26 -05:00
repdir_getdirentries.c r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 12:28:26 -05:00
repdir.m4 r19125: merge from samba4 2007-10-10 12:15:14 -05:00
replace.c Fix bug 5055 2007-11-26 15:28:13 +01:00
replace.h Add MAX_DNS_NAME_LENGTH, remove more pstrings. 2007-11-15 18:27:26 -08:00
samba.m4 r22221: merge from samba4: 2007-10-10 12:19:21 -05:00
snprintf.c r21176: merged va_end() changes from Samba4 2007-10-10 12:17:45 -05:00
strptime.c r23800: LGPL is now called GNU Lesser General Public License 2007-10-10 12:28:26 -05:00
strptime.m4 r22221: merge from samba4: 2007-10-10 12:19:21 -05:00
timegm.c r19601: Fix protection from invalid struct tm values. 2007-10-10 12:15:42 -05:00
timegm.m4 r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
win32_replace.h r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
win32.m4 r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -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)