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
Günther Deschner
310d268527
s3-includes: only include system/iconv.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
89ca4875cd
s3-includes: only include system/syslog.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
99f4a64543
s3-trans2: only include trans2.h where needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
d85f140826
s3-winbind: remove global inclusion of libwbclient.
...
Guenther
2011-03-30 01:13:06 +02:00
Volker Lendecke
273e7cbb99
Revert "s3-includes: fixed CONST_DISCARD() to actually discard const"
...
This reverts commit 37261928bec145f4cbd85f3e409063563c00ac9e.
In source3 this creates a warning of the form
passdb/pdb_ldap.c:4565: warning: passing argument 2 of ‘pull_utf8_talloc’ from incompatible pointer type
include/proto.h:444: note: expected ‘char **’ but argument is of type ‘char ***’
for every use of CONST_DISCARD.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Mar 25 13:16:35 CET 2011 on sn-devel-104
2011-03-25 13:16:35 +01:00
Andrew Tridgell
37261928be
s3-includes: fixed CONST_DISCARD() to actually discard const
...
a cast is not enough
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25 04:37:06 +01:00
Günther Deschner
8fe4a68da7
s3-includes: remove unused cmdline_lp_ctx.
...
Guenther
2011-03-23 19:24:35 +01:00
Andrew Tridgell
6e8b6358ec
fault: fixed smb_panic() prototypes
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
2011-03-23 01:51:44 +01:00
Günther Deschner
3aa9d3005a
s3-build: only include asn1 headers where actually needed.
...
Guenther
2011-03-16 23:46:18 +01:00
Günther Deschner
9f9e195124
s3-packet: only include packet.h where needed.
...
Guenther
2011-03-16 16:56:47 +01:00
Günther Deschner
1f6aecb5cf
s3-interfaces: only include interfaces.h where needed.
...
Guenther
2011-03-16 16:56:46 +01:00
Günther Deschner
1ce4d2d83a
s3-msdfs: avoid global inclusion of msdfs.h.
...
Guenther
2011-03-16 16:56:46 +01:00
Günther Deschner
fad0112373
s3-build: stop including ldap and lber headers everywhere in the code.
...
Instead use new header smb_ldap.h where all LDAP API related things are handled,
while smbldap.h only deals with our smbldap_X() API.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
2011-03-16 10:54:50 +01:00
Günther Deschner
d19ea55e9e
s3-includes: avoid global include of gssapi headers.
...
Guenther
2011-03-16 10:11:16 +01:00
Andreas Schneider
cc5b88545d
s3-rpc_server: Introduce transport in pipe_struct.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:30 +01:00
Günther Deschner
9167d70e77
libreplace: move "struct timespec" checks into libreplace (where timespec is already used).
...
Bjoern, Metze, please check.
Guenther
2011-03-04 00:28:27 +01:00
Günther Deschner
ba7727487e
s3-includes: remove global include of system/readline.h.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 2 23:06:17 CET 2011 on sn-devel-104
2011-03-02 23:06:17 +01:00
Günther Deschner
ea29261186
s3-sessionid: avoid global include of sessionid.h
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 2 12:58:12 CET 2011 on sn-devel-104
2011-03-02 12:58:12 +01:00
Günther Deschner
8643683dd8
s3-server_id: only include server_id where needed.
...
Guenther
2011-03-02 12:12:31 +01:00
Andrew Bartlett
5f5ca913b7
lib/util: new merged debug system
...
This is the s3 debug system, with a number of changes to tidy it up
for common use. The debug class system is simplified by the removal of the
ISSET table, the system no longer attempts to cope with assignment of
DEBUGLEVEL, and the full class table is always available (rather than
just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer
confusingly described as a hack, but as the initial table.
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
2011-03-01 04:32:12 +01:00
Günther Deschner
de8b373329
s3-printing: move more printing defines out of includes.h
...
Guenther
2011-02-25 01:08:26 +01:00
Günther Deschner
28b4b05938
s3-includes: move some chgpasswd related defines to the locations where they are used.
...
Guenther
2011-02-22 21:52:19 +01:00
Andrew Tridgell
b74ac941f9
s3-includes: force _SAMBA_BUILD_=3 in source3 includes.h
...
this allows a common set of cflags for a top level combined build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-18 15:09:46 +11:00
Günther Deschner
ca574482b8
s3: no need to globally include intl.h.
...
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
80b4e1e985
s3: move some defines to a better place.
...
Guenther
2011-02-14 11:47:19 +01:00
Andrew Tridgell
9432eabb2f
developer: only do the C++ reserved name checking on Linux
...
this prevents us breaking the solaris build, but will still mean we
prevent C++ vars in our code
2010-11-17 23:55:39 +11:00
Volker Lendecke
48dccbf2b5
s3: Move #define VALGRIND to config.h
...
This fixes the valgrind overrun in the tdb jenkins hash
2010-10-03 12:03:36 +02:00
Günther Deschner
d0a6c32add
s3-nmbd: move SYNC_DNS to nmbd.h
...
Guenther
2010-09-20 14:10:34 -07:00
Günther Deschner
62544c5d2b
s3-build: only include smbldap.h where needed.
...
Guenther
2010-09-20 13:54:56 -07:00
Günther Deschner
8e16d6dbdf
s3-build: only include ctdbd_conn.h where needed.
...
Guenther
2010-09-20 13:54:50 -07:00
Günther Deschner
c7fe04abc7
s3-build: only include async headers where needed.
...
Guenther
2010-09-20 13:54:42 -07:00
Andrew Bartlett
f20bba97d8
s3-privs Move source3/ privileges implmentation into common
...
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11 18:46:06 +10:00