summaryrefslogtreecommitdiff
path: root/source4/include/system
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15870: Improve detection of iconv - should prevent HAVE_ICONV_H beingJelmer Vernooij1-0/+2
defined when the installed iconv library doesn't match our criteria as well as some other minor fixes. (This used to be commit 7937932615434a59c84d8a1b81e368f6a5f8e429)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij3-9/+30
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r15568: Simplify detection of iconv libraries a fair bit and fix it toJelmer Vernooij1-4/+2
work on FreeBSD. Based very loosely on a patch by Timur Bakevey Fixes #3688 (This used to be commit ea7b28572b453da8eced565a49e4c10e7ebd2e28)
2007-10-10r15321: Reduce the size of rewrite.m4 a bit moreJelmer Vernooij1-0/+43
(This used to be commit c83e4b166534278c335254aa8890a50635bbf1b7)
2007-10-10r15189: Add parentheses to force ISDOt and ISDOTDOT evaluation order. Fix typoJames Peach1-5/+5
that made the BASE-DIR2 test fail. (This used to be commit dcebc59a987b3c0d8379912d0451dedb9e895451)
2007-10-10r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename isJames Peach1-0/+19
"." for "..". These express the intention better that strcmp or strequal and improve searchability via cscope/ctags. (This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10r13248: Revert revision 13071. It turns out that sys/param.h can be implicitlyJames Peach1-11/+0
included from other headers. In this case, undeffing MIN and MAX is a really bad idea because the subsequent include of sys/param.h will do nothing because of its include guards. (This used to be commit 8aa8be93b09cfbd176455738dfd305047030fd50)
2007-10-10r13071: Work around a really annoying compiler warning where header fileJames Peach1-0/+11
ordering causes MIN and MAX to be redefined. (This used to be commit 0eda8a31975fa6cf4f7026bccc5468fba957860d)
2007-10-10r12844: don't include system headers directlyStefan Metzmacher1-0/+8
metze (This used to be commit 75a98047d6829cadf4b9082bec2733055dad3465)
2007-10-10r10664: Include limits.h in replace.h for HOST_NAME_MAXJelmer Vernooij1-22/+0
(This used to be commit dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij1-0/+44
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r8933: Fix missing prototype warningsJelmer Vernooij1-0/+4
(This used to be commit 39b2220a84b1860d8ee09b8c15049f18fd77da7d)
2007-10-10r8460: removed the unused function krb5_locate_kdc(). It causes a build ↵Andrew Tridgell1-2/+0
failure on irix. Andrew, if you planned on using this in the future then we can put it back and work out how to make it portable (This used to be commit eaa74913fedefbf33f7cfab6648bf05aa3cdbbb3)
2007-10-10r8458: next target is irix - this gets the socket wrapper code buildingAndrew Tridgell1-4/+0
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)
2007-10-10r8161: Update Samba4 for the new Heimdal update.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 6a9b6373273f135fe012a6603707d77c2a65e9fa)
2007-10-10r8113: this should fix the build on systems without heimdalAndrew Tridgell1-4/+0
(This used to be commit 980c09cfca1744c35eb284c7177709fedba073dc)
2007-10-10r7850: Support mkdir() with just one parameter. Patch fromJelmer Vernooij1-0/+3
Steven Edwards <steven_ed4153@yahoo.com>. I've moved the Win32-specific tests to win32.m4 so it does not make any of the POSIX configure stuff more complicated. (This used to be commit bf85fdd01552f75b745fdf3159a7a87cd6521ed2)
2007-10-10r7688: Fix the internal heimdal build - push one #define back toAndrew Bartlett1-1/+0
heimdal_build/config.h Andrew Bartlett (This used to be commit 337cb20ac45c95b8a6d0c90dfef4bdac591ba39a)
2007-10-10r7683: The other file from the last commit. And it's ↵Andrew Bartlett1-1/+107
include/system/kerberos.h that I'm putting the #defines in... Andrew Bartlett (This used to be commit 31f7ec38e63fc86ad7c756de47414152d2809c8f)
2007-10-10r7352: the internal heimdal build change. This changes quite a few things:Andrew Tridgell1-25/+5
- 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)
2007-10-10r6879: Another attempt at including the 'right' kerberos headers onAndrew Bartlett1-9/+12
dual-install systems. Andrew Bartlett (This used to be commit efc24f1a4592270634dca253689c1b54e154d8b8)
2007-10-10r6811: Another attempt at better kerberos/gssapi headers.Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit f4b7484516b956baabb3eba3f233da29fc101100)
2007-10-10r6806: Try again to fix the build on various kerberos libs.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 5749b63f171acb99c63bfe24312050b316644082)
2007-10-10r6803: Try to bring in the correct GSSAPI headers for the krb5 mech. ThisAndrew Bartlett1-1/+5
should allow us to ditch the local static storage for OIDs, as well as fix the build on non-heimdal platforms. Andrew Bartlett (This used to be commit a7e2ecfac9aaacd673e3583b62139e4f4e114429)
2007-10-10r6752: Patch by Steven Edwards to improve portability to mingw32Jelmer Vernooij3-1/+11
(This used to be commit 8d63cd33a223cccb21d808747e9c97da53629fbc)
2007-10-10r6140: - Add configure option for enabling the socket-wrapper library, so itJelmer Vernooij1-1/+1
can be enabled on the buildfarm without requiring --enable-developer - Support tcp and udp being used on the same port - FIx some portability issues (should fix the build on some hosts on the buildfarm) - Ignore setting TCP_NODELAY on (semi-)TCP sockets rather then complain about it not being supported (saves us from a couple of error messages for each connection that is opened) (This used to be commit 443fb7853b8d3cb516c442fdc595038544b75738)
2007-10-10r6139: Move socket_wrapper to a seperate directoryJelmer Vernooij1-1/+1
(This used to be commit a2ef9225f15e369af7b884262b997ab321fd24d6)
2007-10-10r6088: Add the socket_wrapper library. This is a very simple library thatJelmer Vernooij1-0/+4
redirects traffic (currently just IP traffic) over unix domain sockets if the SOCKET_WRAPPER_DIR environment variable has been set. Aim is to use this for the Samba4 torture suite on the buildfarm. The socket_wrapper library can only be used if Samba was compiled with --enable-developer. test_rpc.sh passes against a local smbd with SOCKET_WRAPPER_DIR set. (and ethereal showed no traffic whatsoever) Stuff that still needs to be fixed in socketwrapper: - Give ENETUNREACH if target is not localhost - A given port number can only be used for UDP /or/ TCP, not both. - Perhaps allow some calls to circumvent socketwrapper (do we need DNS?) (This used to be commit f8a63a843ccca092d9756b64e09175d37c08550a)
2007-10-10r4900: build fix for IRIX 6.5Andrew Tridgell1-4/+0
(This used to be commit f6ff9e6f39efdb312384ebb651b8e0f01e9e8df1)
2007-10-10r4379: Merge more Kerberos related configure checks (by jra, gd and LarsAndrew Bartlett1-6/+2
Mueller <lmuelle@suse.de>) from 3.0 to Samba4. Andrew Bartlett (This used to be commit 9c74e04098d50427f93219a6a451c44a2373db46)
2007-10-10r4124: include locale.h to get LC_ALL in include/system/iconv.hAndrew Tridgell1-0/+4
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
2007-10-10r3578: a couple of include changes that should help with FreeBSDAndrew Tridgell1-5/+4
(This used to be commit d8c4a660a08d7be8b69e4e5458bdcc1cb492506e)
2007-10-10r3480: moved some signal defines into include/systemAndrew Tridgell2-0/+8
(This used to be commit a954e707ef5b23af84ef8f622336e36379c4a373)
2007-10-10r3478: split out some more pieces of includes.hAndrew Tridgell8-6/+104
(This used to be commit 8e9212ecfc61c509f686363d8ec412ce54bc1c8d)
2007-10-10r3463: separated out some more headers (asn_1.h, messages.h, dlinklist.h and ↵Andrew Tridgell3-0/+12
ioctl.h) (This used to be commit b97e395c814762024336c1cf4d7c25be8da5813a)
2007-10-10r3458: more solaris portability fixes, the main one being that we can't use aAndrew Tridgell1-0/+4
structure element called "open" as its a macro on solaris. (This used to be commit 4e92e15c4e396b1d8cd211192888fea68c2cf0f9)
2007-10-10r3455: some more portability fixes. We nearly compile on solaris again now.Andrew Tridgell2-35/+19
(This used to be commit 4f33247f1ca60416415a61a7afac43c9dc8a61fd)
2007-10-10r3454: moved a few more things out if includes.h into the include/system/ ↵Andrew Tridgell4-0/+50
include files. this brings us down to about 11k lines of headers included with includes.h, while still retaining the speed of building with pch (This used to be commit 10188869ef072309ca580b8b933e172571fcdda7)
2007-10-10r3453: - split out the auth and popt includesAndrew Tridgell2-0/+120
- tidied up some of the system includes - moved a few more structures back from misc.idl to netlogon.idl and samr.idl now that pidl knows about inter-IDL dependencies (This used to be commit 7b7477ac42d96faac1b0ff361525d2c63cedfc64)
2007-10-10r3450: portability fixesAndrew Tridgell1-0/+4
- fix rep_inet_ntoa() for IRIX - lib/signal.c needs system/wait.h - some systems define a macro "accept", which breaks the lib/socket/ structures. use fn_ as a prefix for the structure elements to avoid the problem (This used to be commit ced1a0fcdc8d8e47755ce4391c19f8b12862eb60)
2007-10-10r3449: more include file reductionAndrew Tridgell3-0/+45
the ldb part isn't ideal, I will have to think of a better solution (This used to be commit 6b1f86aea8427a8e957b1aeb0ec2f507297f07cb)
2007-10-10r3447: more include/system/XXX.h include filesAndrew Tridgell10-0/+342
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10r3446: created include/system/iconv.h and include/system/shmem.hAndrew Tridgell2-0/+70
(This used to be commit 70055fb1f499cd40e996e56c7ba9ef8d2267b421)
2007-10-10r3445: made the gtk tooks use minimal includes. This approximately halves theAndrew Tridgell1-0/+25
total include lines in compiling C files in Samba (the .gch file is now 5M instead of 12M) This also gets rid of the silly gtk compile warning for non-gtk code (This used to be commit 8ebd20cf551c8c1fad98ec723d91873fa202b85a)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell3-0/+108
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)