summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21795: fix the prototype of unsetenv()...Stefan Metzmacher1-1/+1
metze (This used to be commit 2952c20b779fc6c797e2ab33ba3bda19cbb7a00d)
2007-10-10r21793: add replacement for unsetenv()Stefan Metzmacher1-0/+5
metze (This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)
2007-10-10r20981: Fix cut'n'paste error.James Peach1-1/+1
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)
2007-10-10r19393: Add replacement function for socketpair()Jelmer Vernooij1-0/+4
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
2007-10-10r19242: merge from samba3:Stefan Metzmacher1-0/+2
handle NO_CONFIG_H in libreplace metze (This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
2007-10-10r18999: merge from samba3:Stefan Metzmacher1-9/+8
- make more usage of PRINTF_ATTRIBUTE() - vsyslog takes a 'const char *format' metze (This used to be commit cdcd4232d2f383f4d2f9ca1d049b7b3cc7b58359)
2007-10-10r18991: Fix bug 4133 -- Thanks to Olaf FlebbeVolker Lendecke1-0/+7
(This used to be commit d8bea42bb78619ae35a9680b24fe9eee5f25997d)
2007-10-10r18970: avoid strndup and strnlen on AIX. They are quite broken. SeeAndrew Tridgell1-2/+4
http://lists.samba.org/archive/samba-technical/2004-August/036915.html (This used to be commit c178c84f01166609e6bd3393d39fb0034130167b)
2007-10-10r18862: as andrew pointed our on irc, if we are going to define _TRUE, thenAndrew Tridgell1-2/+2
better make it be true :) (This used to be commit 4bda5ed3f9fda437c3f9b7e8ce83853999601c74)
2007-10-10r18861: merge from samba3Andrew Tridgell1-0/+11
(This used to be commit c5e2fcdc10a0869264bb1c6a13ada5f12e1b655f)
2007-10-10r18675: merge from samba3:Stefan Metzmacher1-1/+17
we need to define the macros the indicate we have bool even if we have not defining bool ourself metze (This used to be commit 0c18e5d9383883f696113837a9e2d1bc078f18b1)
2007-10-10r18674: merge from samba3,Stefan Metzmacher1-1/+1
PRINTF_ATTRIBUTE seems to not work with gcc 3.0 metze (This used to be commit dfb9bfba943bb4954101e7e02fa5a68046817162)
2007-10-10r18518: we replace snprintf() if its not C99, so we should also add the rep_Andrew Tridgell1-2/+2
prototype in that case (This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
2007-10-10r18472: - use STDC_HEADERS for stdlib.h and stddef.h as autoconf doesStefan Metzmacher1-1/+2
- AC_HEADERS_STDC is not explicit needed metze (This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
2007-10-10r18458: move wins32 stuff to the top dirStefan Metzmacher1-1/+1
metze (This used to be commit 521e94f2693eab9053d9e3f1bbc56cdf2e0adbcd)
2007-10-10r18432: ensure roken doesn't try to include both inttypes.h and stdint.h. TheAndrew Tridgell1-0/+3
two conflict on irix. (This used to be commit 4dd949c80d4400c3a80571cc28f599c37c1fcf7b)
2007-10-10r18419: fix include paths of the configure testsStefan Metzmacher1-3/+3
metze (This used to be commit 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
2007-10-10r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64Stefan Metzmacher1-0/+4
to get MAP_FAILED metze (This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
2007-10-10r18343: fixed setlinebuf() prototype, added test for it, and use it in twoAndrew Tridgell1-1/+1
places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10r18337: more -Ae tests in check_cc.m4Andrew Tridgell1-0/+4
honor the MMAP_BLACKLIST (This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
2007-10-10r18335: more portable bool testsAndrew Tridgell1-2/+13
(This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)
2007-10-10r18278: move more header checks and _GNU_SOURCE into libreplaceAndrew Tridgell1-0/+8
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
2007-10-10r18206: need rep_ macro for setlinebufAndrew Tridgell1-0/+5
(This used to be commit 6a48f75eaef031538c3e5b98d8672919bba7c409)
2007-10-10r18205: need rep_ macros for seteuid and setegidAndrew Tridgell1-0/+10
(This used to be commit dd7af58b83815620114795aa49bc30b2440bd81b)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell1-7/+27
- replacing rename() is pointless - all platforms have it (and the #define of rename breaks some code) - use system/locale.h in snprintf.c - fix passwd.h for initgroups - stdlib is in replace.h, not needed elsewhere - fix the initgroups replacement - fix mapping of dl functions to rep_* (This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell1-3/+13
isolation of our portability environment from the main code, and also simplifies the includes system (no separate #ifdef _SAMBA_BUILD for tdb. ldb etc now) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10r18111: base inclusion of replacement printf fns on function existance, notAndrew Tridgell1-8/+13
declaration. Otherwise _GNU_SOURCE and _BSD_SOURCE stuffs things up (possibly fixable, but not now) (This used to be commit 68caf1bba73fe68f452c7db2ac3895a451645dec)
2007-10-10r18081: libreplace now uses config.h againAndrew Tridgell1-5/+0
(This used to be commit 037196538a9850be194c1577f59c0c6a03ea8b9a)
2007-10-10r18067: some tweaks for irix and hpuxAndrew Tridgell1-6/+2
this checks for -AC99 or -c99 to get C99 structure init to work. It's based on a similar macro metze did for Samba4. the double sinclude() is weird, but I can't see any other way to use a common config.m4 between libreplace and all the projects that use it (This used to be commit 8d80024976bc508d73b42b4cf12315fe8f7a6322)
2007-10-10r18039: Include header with time_t if needed.Jelmer Vernooij1-5/+10
(This used to be commit b0cfdd24be88ba3963eb43cdbcb6317e65aed57b)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij1-33/+72
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10r16556: Add mkdtemp to libreplace. This is apparantly available on LinuxJames Peach1-0/+4
and BSD systems, but it's not everywhere. (This used to be commit b3d2512ed4fc8c378607bcc2dc241a1f77ab7197)
2007-10-10r15986: Declare struct tmJelmer Vernooij1-0/+1
(This used to be commit 139d9369dc1b7daaf980a0c95b0921388ec39913)
2007-10-10r15953: our timegm() replacement still doesn't work, so grab the one fromAndrew Tridgell1-0/+4
Heimdal which does work. This should fix most of the rest of the failures on solaris (This used to be commit acfaa98b5ea686feb81350baf09b3f4480f96edc)
2007-10-10r15882: I forgot to add in this prototype for strtok_r()Andrew Tridgell1-0/+4
(This used to be commit 971cead2ad66fca55a32639090d97b8186c1dae7)
2007-10-10r15868: Add replacement macro for __STRING()Jelmer Vernooij1-1/+3
(This used to be commit 3780e0580b7173f20fed550db3412ab3b3b12fbf)
2007-10-10r15280: - remove the 2nd check for __FUNCTION__Stefan Metzmacher1-0/+4
- fallback to __func__ if __FUNCTION__ isn't there metze (This used to be commit 6c5a2b08ca2f0db6b39808740a06ed165e8b9ade)
2007-10-10r15226: Fix order of typedef specification - caught by kblinJelmer Vernooij1-1/+1
(This used to be commit d5d03cdd2398467ecee71bae37238c375baa2395)
2007-10-10r15224: Check whether -MT is actually supported by the compiler before usingJelmer Vernooij1-1/+1
automatic dependencies (This used to be commit 6598efc6b302984d0b26b0c76a4b7107f5feba21)
2007-10-10r15203: Allow system 'bool' type to be defined in another header then stdbool.hJelmer Vernooij1-1/+3
(This used to be commit a5a648de94014b13da3af8dfac06380c9ec26c53)
2007-10-10r15200: Move MIN/MAX macros to libreplace as some systems have themJelmer Vernooij1-0/+14
in sys/param.h (This used to be commit 3f0396aade82a92a375275059baf8500de1b23f0)
2007-10-10r15000: Move some more autoconf tests out of build/m4/rewrite.m4Jelmer Vernooij1-0/+4
Guarantee availability of __FUNCTION__ in libreplace (This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)
2007-10-10r14999: Remove more unused autoconf codeJelmer Vernooij1-9/+7
Simplify va_copy() replacement code a bit (This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
2007-10-10r14844: Support a stdbool.h replacement in lib/replace/Jelmer Vernooij1-0/+17
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
2007-10-10r13577: Move some (possibly system-defined) defines to replace.hJelmer Vernooij1-0/+16
(This used to be commit 2b3d56e153b229119fddfa7b378f4d671ee0092c)
2007-10-10r12814: we need this here too, as we'll include replace.h for building heimdal/*Stefan Metzmacher1-0/+12
too, and for this we don't include includes.h (hopefully) fix the build on AIX metze (This used to be commit 32f2cf433f65aaa9bcc5e33958d6f9c72c7f13d9)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-12/+0
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12364: add UINT32_MAX and UINT64_MAX replacement definesStefan Metzmacher1-0/+8
(hopefully fix the build on OpenBSD) metze (This used to be commit cbe06ade214bd29eab5c11fcd011a3c463bf78db)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij1-0/+4
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r10896: added a strcasestr() replacement functionAndrew Tridgell1-0/+4
(This used to be commit 4483d275e12006e5acc72ae143c0a01da01bd00d)