1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/lib/replace
Stefan Metzmacher 6685e53385 r21944: move acl header checks to the correct place only
jeremy: please merge this to 3.0.25:-)

metze
(This used to be commit 874164e365)
2007-10-10 12:18:51 -05:00
..
system r21944: move acl header checks to the correct place only 2007-10-10 12:18:51 -05:00
test r20820: merge from samba4: 2007-10-10 12:17:09 -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 r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
autogen.sh r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
config.guess r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
config.sub r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
configure.ac r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
dlfcn.c r19385: These replaced symbols should have a rep_ prefix. 2007-10-10 12:15:32 -05:00
dlfcn.m4 r20385: merge from samba4: 2007-10-10 12:16:45 -05:00
getpass.c r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
getpass.m4 r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
install-sh r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
libreplace_cc.m4 r20817: sync lib/replace with samba4 2007-10-10 12:17:09 -05:00
libreplace_macros.m4 r21388: Merge support for providing replacement system headers. 2007-10-10 12:18:01 -05:00
libreplace.m4 r21388: Merge support for providing replacement system headers. 2007-10-10 12:18:01 -05:00
Makefile.in r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
README r21388: Merge support for providing replacement system headers. 2007-10-10 12:18:01 -05:00
repdir_getdents.c r19016: As per Samba4 coding standards, turn tabs into spaces 2007-10-10 12:15:02 -05:00
repdir_getdirentries.c r19016: As per Samba4 coding standards, turn tabs into spaces 2007-10-10 12:15:02 -05:00
repdir.m4 r19125: merge from samba4 2007-10-10 12:15:14 -05:00
replace.c r20817: sync lib/replace with samba4 2007-10-10 12:17:09 -05:00
replace.h r20817: sync lib/replace with samba4 2007-10-10 12:17:09 -05:00
samba.m4 r18644: bring in libreplace in lib/replace 2007-10-10 11:52:03 -05:00
snprintf.c r21176: merged va_end() changes from Samba4 2007-10-10 12:17:45 -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
innetgr
initgroups
memmove
strdup
inet_ntoa
setlinebuf
vsyslog
timegm
setenv
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
strtoll
strtoull
socketpair

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__
__STRING
MIN
MAX
QSORT_CAST

Headers:
stdint.h
stdbool.h

Prerequisites:
memset (for bzero)
syslog (for vsyslog)
setnetgrent, getnetgrent, endnetgrent (for innetgr)
mktemp (for mkstemp and mkdtemp)