1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/lib/replace
Stefan Metzmacher e86dc14d83 libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headers
metze
(partialy cherry picked from commit cffed8e19e)
(This used to be commit f46a17b408)
2008-09-14 18:28:17 +02:00
..
system libreplace: include <krb5.h> and <com_err.h> and no heimdal specific headers 2008-09-14 18:28:17 +02:00
test libreplace: always provide utime() and utimes() 2008-05-16 08:51:46 +02:00
.checker_innocent r20817: sync lib/replace with samba4 2007-10-10 12:17:09 -05:00
aclocal.m4
autoconf-2.60.m4 r22659: merge from SAMBA_4_0: 2007-10-10 12:19:53 -05:00
autogen.sh
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 libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build 2008-05-16 08:51:47 +02:00
dlfcn.c Support dlopen(NULL, ...) on HPUX. 2008-02-20 21:12:54 +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
getifaddrs.c libreplace: fix rep_freeifaddrs to not segfault on NULL input. 2008-02-29 09:31:57 +01:00
getpass.c Fix replacement getpass. If we ^C at the prompt echo was left off. 2008-05-09 14:51:45 -07:00
getpass.m4 libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4. 2008-02-20 14:14:31 +01:00
inet_aton.c libreplace: put inet_aton.c under LGPL instead of GPL. 2008-03-18 16:35:46 +01:00
inet_ntoa.c libreplace: remove trailing white spaces. 2008-03-18 16:45:10 +01: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_pton.c r25455: Ensure we have inet_ntop and inet_pton available in lib/replace. 2007-10-10 12:31:06 -05:00
install-sh
libreplace_cc.m4 Solve an IBM XL C/C++ compiler error encountered in get_exit_code() auth_errors array initialization in client/smbspool.c 2008-08-06 14:01:47 -07:00
libreplace_ld.m4 Fix extra dash in command line flag. 2008-09-14 18:20:42 +02:00
libreplace_macros.m4 r25971: libreplace: remove AC_EXTENSION_FLAG as it's the same as AC_N_DEFINE 2008-01-18 17:02:10 +01:00
libreplace_network.m4 libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected 2008-05-22 15:04:32 +02:00
libreplace.m4 libreplace: only include AC_USE_SYSTEM_EXTENSIONS fallback if required 2008-06-09 11:06:17 +02:00
Makefile.in libreplace: add extended getifaddrs test that prints out the interfaces. 2008-02-29 09:30:40 +01:00
README libreplace: always provide utime() and utimes() 2008-05-16 08:51:46 +02: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 using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() subroutine in lib/replace/replace.c 2008-08-08 12:28:15 -07:00
replace.h libreplace: always provide utime() and utimes() 2008-05-16 08:51:46 +02:00
samba.m4 libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba 2008-05-16 08:51:46 +02:00
snprintf.c Fix typo. 2008-07-14 16:40:36 +02:00
socket.c libreplace: Add tests for connect and gethostbyname. 2008-02-26 13:56:12 +01:00
socketpair.c libreplace: move rep_socketpair() to its own module. 2008-03-19 22:40:45 +01: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
win32_replace.h
win32.m4 libreplace: fix warnings with autoconf-2.62 rename ac_ => libreplace_cv_ 2008-06-09 11:06:08 +02: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
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
inet_aton
strtoll
strtoull
socketpair
strptime
getaddrinfo
freeaddrinfo
getnameinfo
gai_strerror
getifaddrs
freeifaddrs
utime
utimes

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)