summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25911: Remove more fstring/pstring bad useage. Go talloc !Stefan Metzmacher1-1/+1
Jeremy. merge from v3-2-test commit 2a0173743d2cf615d52278f3dd87cc804abe2d16 (This used to be commit cb0eca66dc5121fa73404a7c41aad6086a96e7ec)
2007-12-21r25892: Keep the tdb code in sync between 3.2.x and 4.0.Jeremy Allison1-0/+4
Add in the alarm fix to allow locks to exit on alarm signal. Sync up the changes in tools. Jeremy. (This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
2007-12-21r25602: don't imply "system/network.h" within replace.h,Stefan Metzmacher1-3/+7
as this brings in the socket_wrapper.h in unexpected code and we endup with a missing 'swrap_close' while linking metze (This used to be commit 507d5ca7d994f0771dbb66e61d2d22e391508658)
2007-12-21r25601: replace.h should never imply any "system/*.h"Stefan Metzmacher1-7/+2
(here it's "system/time.h") metze (This used to be commit 00467c25930a527eb9831cfd893bd8e217ca4f74)
2007-10-10r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, ↵Jelmer Vernooij1-5/+16
getnameinfo (and friends) from SAMBA_3_2, with some minor tweaks: - avoid including network headers in replace.h unless absolutely required - autoconf tests for getaddrinfo() in lib/replace The heimdal-specific code also no longer looks for these functions anymore. (This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
2007-10-10r25251: move macro defines to the end of replace.hStefan Metzmacher1-32/+35
and move the include location sys/param.h before we redefine missing macros metze (This used to be commit 87559febdf887940ca85571d301269b734906401)
2007-10-10r25210: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 489758afb22368399054d1306711e14cebce94e1)
2007-10-10r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part ofJelmer Vernooij1-0/+8
sys/param.h. (This used to be commit 7016d500287ae587d044744f2a318c402148ebea)
2007-10-10r24350: Remove offsetof() replacement to see if there are actually anyJelmer Vernooij1-4/+0
hosts that don't have it. (This used to be commit b37d86242de1ee82b0cd760d965f8ad37a83cf09)
2007-10-10r24337: Make libreplace provide offsetof.Jelmer Vernooij1-0/+4
(This used to be commit 48d1aa4fcf6a323e3e6a14825f83cd20e3fc3a26)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.Michael Adam1-0/+10
This fixes the build on a SuSE 6.1. :-) I guess this had been merely forgotten. But beware: The implementations of rep_pread and rep_pwrite are not thread safe. Michael (This used to be commit e4955c729fdf0bd299df4dadc4b33e09fe4d336e)
2007-10-10r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flagsStefan Metzmacher1-0/+4
for dlopen but no library contains the function... metze (This used to be commit 0c7e3ed9625d512522a0cc7278e705fbbfc316f4)
2007-10-10r23188: revert 23123 and 23118.Stefan Metzmacher1-10/+0
as a long term solution this was the correct approach, but it's a bit more complex and we need to provide the whole socket api and libnsl.so checking in libreplace... as a short term solution to fix the build on host 'hape' we'll use the same trick as with inet_aton.c from heimdal's lib/roken/ metze (This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)
2007-10-10r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.plJelmer Vernooij1-0/+8
(This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c)
2007-10-10r23123: Fix two utterly simply typos that broke the whole build farm...Michael Adam1-2/+2
Michael (This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)
2007-10-10r23118: Make inet_pton and inet_ntop available through lib/replace.Michael Adam1-0/+10
The code for inet_pton.c and inet_ntop.c is taken from the rsync code. I will put this into 3_0 and 3_0_26 too, but let's sort the readahead issue in lib/replace of 3_0 first... Michael (This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)
2007-10-10r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.Michael Adam1-0/+6
Fixing build of ldb for instance on some systems without dlfcn.h. (This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher1-0/+29
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22273: - provide __LINESTR__ macroStefan Metzmacher1-1/+9
- add __STRINGSTRING() macro to really create a string of __LINE__ - fix __location__ macro metze (This used to be commit 24324fbcff1a896c55e789063f9916dbd092956d)
2007-10-10r22270: provide __location__ in replace.hStefan Metzmacher1-0/+4
and see how the build-farm likes this simpler version metze (This used to be commit 2abc79680f8342c9a7a6c1f3746489dd598b7bf8)
2007-10-10r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0Stefan Metzmacher1-1/+1
and #ifndef doesn't work. metze (This used to be commit 99125fe76a115b237e18c6a8b73e4adffc5ffb8d)
2007-10-10r22250: try to fix the build on aix1 in the farmStefan Metzmacher1-1/+5
metze (This used to be commit 0a04ed570b125be1716628136f87f0244ad12f72)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher1-0/+23
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r22215: add strptime replacement to libreplace based on the patchStefan Metzmacher1-0/+6
from jojowil@hvcc.edu to bug 4063 also add a testsuite for strptime() metze (This used to be commit aba64521707143e6505b3322c390882a918a148a)
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)