Andrew Bartlett
96108eed10
build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bits
2012-04-05 02:39:08 +02:00
Andrew Bartlett
473b974a06
build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more
2012-04-05 02:39:08 +02:00
Jelmer Vernooij
05bc4de083
Revert making public of the samba-module library.
...
This library was tiny - containing just two public functions than were
themselves trivial. The amount of overhead this causes isn't really worth the
benefits of sharing the code with other projects like OpenChange. In addition, this code
isn't really generically useful anyway, as it can only load from the module path
set for Samba at configure time.
Adding a new library was breaking the API/ABI anyway, so OpenChange had to be
updated to cope with the new situation one way or another. I've added a simpler
(compatible) routine for loading modules to OpenChange, which is less than 100 lines of code.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-12-03 08:36:30 +01:00
Andrew Bartlett
87354c9a6d
lib/util Split samba-modules library into public and private parts
...
This will allow OpenChange to get at the symbols it needs, without
exposing any more of this as a public API than we must.
Andrew Bartlett
2011-10-28 13:10:28 +02:00
Andreas Schneider
cdb7ef9118
s3: Enable uid wrapper.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Oct 27 15:06:58 CEST 2011 on sn-devel-104
2011-10-27 15:06:58 +02:00
Günther Deschner
46e7ab37bf
s3: remove some dead prototypes.
...
Guenther
2011-10-14 12:07:23 +02:00
Andrew Bartlett
7d33ec3dfe
lib/util: consolidate module loading into common code
...
This creates a samba-modules private libary that handles the details.
Andrew Bartlett
2011-10-06 07:18:07 +02:00
Andrew Bartlett
d40fe50a67
build: avoid util.h as a public header name due to conflict with MacOS
2011-09-23 09:24:03 +02:00
Andrew Bartlett
dd491d8d8c
s3-build We no longer require to redefine _SAMBA_BUILD_
2011-07-06 05:32:59 +02:00
Andrew Bartlett
f3d6b742b1
lib/util Make unused d_vfprintf() static
2011-06-21 09:35:34 +10:00
Günther Deschner
1e208a7057
s3-includes: no need to globally include libads/ads_status.h.
...
Guenther
2011-05-06 16:37:22 +02:00
Günther Deschner
675573d54b
s3-includes: finally only include client.h when libsmb is used.
...
Guenther
2011-05-06 16:37:22 +02:00
Günther Deschner
d8cfca3a9b
s3: only include tdb headers where needed.
...
Guenther
2011-05-06 10:48:10 +02:00
Jeremy Allison
7d6ebe0de7
More const fixes. Remove CONST_DISCARD.
2011-05-06 01:44:07 +02:00
Günther Deschner
c616379e14
s3-includes: when MADVISE support was reverted back in 2009, someone forgot this hunk.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue May 3 22:06:20 CEST 2011 on sn-devel-104
2011-05-03 22:06:19 +02:00
Günther Deschner
89e6055606
s3-includes: move enum flush_reason_enum to smb.h
...
Guenther
2011-05-03 21:03:47 +02:00
Günther Deschner
a360945791
s3-includes: remove ipv6 related prototype which is already defined in ../lib/util/util_net.h.
...
Guenther
2011-05-03 21:03:47 +02:00
Günther Deschner
4fa2bac6e7
s3-system: move LOCK_ defines to lib/system.c
...
Guenther
2011-05-03 21:03:47 +02:00
Günther Deschner
50883cfeb4
s3-tevent: only include ../lib/util/tevent wrappers where needed.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-29 14:00:30 +02:00
Günther Deschner
12476223c6
s3-tsocket: only include ../lib/tsocket/tsocket.h where needed.
...
Guenther
2011-04-29 12:19:04 +02:00
Andrew Bartlett
3e85b960fa
dynconfig: Have only one dynconfig.o in the common code.
2011-04-27 22:22:26 +10:00
Stefan Metzmacher
5b32708577
s3:includes: simplify INO_T_VAL macros
...
metze
2011-04-24 09:48:50 +02:00
Stefan Metzmacher
d7aa2eb7b6
s3:includes: simplify BIG_UINT macros
...
metze
2011-04-24 09:48:50 +02:00
Günther Deschner
0b89ce6712
s3-build: move MAP_FILE define to the only place used.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
2011-04-20 19:16:47 +02:00
Günther Deschner
7ece43b15e
s3-build: make sure we pick up system tdb and talloc via #include.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2011-04-14 12:56:27 +02:00
Günther Deschner
daea6a4b8c
s3-includes: move readahead prototype to its only user.
...
Guenther
2011-04-14 12:12:47 +02:00
Günther Deschner
165521e20d
s3: only include smb profiling where needed.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-14 01:31:39 +02:00
Günther Deschner
321587e44a
s3-includes: only include acl prototypes when needed.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
c4331f6fcf
s3-includes: absolutely no need to globally include debugparse.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
b4e4b60719
s3-includes: include lib/util/debug.h headers in includes.h not smb.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
c3d8991164
s3-build: finally remove references to ndr and dcerpc headers that were included globally.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
2011-04-13 23:07:05 +02:00
Günther Deschner
b1e3b9d7c1
s3: only include ntioctl.h where needed.
...
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
c2d6260f10
s3: only include lib/privileges.h where needed.
...
This finally removes the global lsa.h inclusion.
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
6e3f0d28a4
s3-includes: only include ntdomain.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
b2af281e50
s3-messages: only include messages.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
3679c0b8c1
s3-includes: finally remove global include of auth.h.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2473c2fb1b
s3-libsmb: put namequery headers to nmblib.h
...
We might find a better name for it and merge other namequery related things as
well here...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
60d2816c5e
s3-passdb: finally stop including passdb.h globaly.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
b0773aa61a
s3-passdb: move mapping.h into passdb.h, its needed here.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
9bd06f6bc7
s3-build: only include transfer_file.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49ccae1c20
s3-includes: no point in including all security headers globally.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
1d7b7ce42e
s3-includes: remove EILSEQ check, this is handled by
...
../lib/replace/system/iconv.h already.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
64422d9735
s3-includes: remove global include of "system/network.h"
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1
s3-includes: only include system/passwd.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
7369ef1f1c
s3-includes: only include system/shmem.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
fd8b5389f6
s3-includes: remove global include of "system/select.h".
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
55f9579110
s3-includes: only include system/terminal.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
21a78b88cc
s3-includes: only include system/capability.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
739ca0e7db
s3-includes: only include system/glob.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00