summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r10664: Include limits.h in replace.h for HOST_NAME_MAXJelmer Vernooij1-0/+21
(This used to be commit dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
2007-10-10r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij1-12/+0
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10r10453: Fix the buildJelmer Vernooij1-5/+0
(This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij1-0/+22
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r8465: once we define socklen_t, then tell other include files we have it. ↵Andrew Tridgell1-0/+1
This prevents roken trying to redefine it (This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)
2007-10-10r8458: next target is irix - this gets the socket wrapper code buildingAndrew Tridgell1-0/+4
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)
2007-10-10r8450: more configure tests for solaris. It now builds some binaries, butAndrew Tridgell1-0/+12
fails in the ejs floating point code. (This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
2007-10-10r8420: slowly getting my way through some more heimdal portability fixesAndrew Tridgell1-4/+0
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)
2007-10-10r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)Andrew Tridgell1-12/+12
(This used to be commit a1ca8352f48cf1942e5a060c79ae1cc78b8a3668)
2007-10-10r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of buildAndrew Tridgell1-1/+1
(This used to be commit 117d2fa31d3a7e0b37c09979aa41243c564c0385)
2007-10-10r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with ↵Andrew Tridgell1-0/+12
heimdal (This used to be commit 7d4e309f02cfcef661ebf3bbe9c227938318077c)
2007-10-10r7352: the internal heimdal build change. This changes quite a few things:Andrew Tridgell1-0/+114
- if you want kerberos now, you need to unpack a lorikeet heimdal tree in source/heimdal/. If source/heimdal/ does not exist at configure time then all kerberos features are disabled. You cannot use an external kerberos library for now. That may change later. - moved lib/replace/ config stuff to lib/replace/ and create a lib/replace/replace.h. That allows the heimdal build to use our portability layer, and prevenets duplicate definitions of functions like strlcat() - if you do enable heimdal, then you will need to do 'make HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once I explain the problem to jelmer (the problem is the inability to set a depend without also dragging in the object list of the dependency. We need this for building the heimdal asn1 compiler and et compiler. - disabled all of the m4 checks for external kerberos libraries. I left them in place in auth/kerberos/, but disabled it in configure.in some of the heimdal_build/ code is still very rough, for example I don't correctly detect the correct awk, flex, bison replacements for heimdal_build/build_external.sh. I expect to fix that stuff up over the next few days. (This used to be commit d4648249b2c7fc8b5e7c0fc8d8f92ae043b5691f)