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
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 37261928be
.
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
Günther Deschner
3aab0c701c
s3-build: only include rpc_misc.h where needed.
...
Guenther
2010-08-26 00:26:01 +02:00
Günther Deschner
8b4f5319ef
s3-build: use talloc_dict.h only where needed.
...
Guenther
2010-08-26 00:25:58 +02:00
Günther Deschner
7a05ca2c9c
s3-build: use dbwrap.h only where needed.
...
Guenther
2010-08-26 00:25:55 +02:00
Günther Deschner
ca765d2f50
s3-build: only include krb5 environment variables where required.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
c8f8110342
s3-build: only include libnscd.h where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
184339825d
s3-build: include mangle.h only where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
7b6fc9f414
s3-dcerpc: only include rpc_dce.h where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
d9a7605431
s3-build: remove unrequired ntlmssp forward declaration.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
2b41f421fd
s3-idmap: only include idmap headers where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Günther Deschner
7ff7eb0b52
s3-build: only include nsswitch header where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
08eff4d311
s3-build: remove unrequired forward declaration for struct printjob.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
aba1bf4b5e
s3-build: only include memcache.h where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
59289d4fa9
s3-build: only include smb_signing.h where needed.
...
Guenther
2010-08-18 09:20:13 +02:00
Günther Deschner
a90ed3381a
s3-build: no need to include privileges.h twice.
...
Guenther
2010-08-06 15:43:38 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
e7a6a3ec0d
s3: avoid global include of ads.h.
...
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
813fbbd68c
s3-build: avoid to globally include printing and spoolss headers.
...
This shrinks precompiled headers by 3MB and will slightly speed up any build.
Guenther
2010-07-31 00:50:31 +02:00
Günther Deschner
d1538add73
s3-nss_info: only include nss_info.h where needed.
...
Guenther
2010-07-01 23:20:40 +02:00
Günther Deschner
56538be6af
s3-libads: move ads_dns out of main includes.
...
Guenther
2010-07-01 23:20:40 +02:00
Günther Deschner
e64df82146
s3-libads: move ads_status to a separate header file.
...
Guenther
2010-07-01 23:20:39 +02:00
Günther Deschner
6b25d47fea
s3-libads: move ads_protos.h to ads_ldap_protos.h.
...
Guenther
2010-07-01 23:20:39 +02:00
Günther Deschner
b9e6962dd7
s3-libads: move KRB5_ENV_CCNAME to separate header krb5_env.h.
...
Guenther
2010-07-01 21:17:17 +02:00
Günther Deschner
ce85181430
s3: remove rpc_secdes.h completely.
...
Guenther
2010-06-03 11:00:26 +02:00
Günther Deschner
fbb7814f91
s3: only use netlogon/nbt header when needed.
...
Guenther
2010-05-31 11:32:37 +02:00
Joachim Schmitz
3030d9db4e
s3: define timespec before we use it
...
this fixes #7464
Signed-off-by: Björn Jacke <bj@sernet.de>
2010-05-30 21:28:17 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Günther Deschner
e9f5bdf6b5
smbconf: only include smbconf headers where needed.
...
Guenther
2010-05-18 10:36:33 +02:00
Günther Deschner
fe31b67d5e
s3-registry: only include registry headers when really needed.
...
Guenther
2010-05-18 01:15:38 +02:00
Günther Deschner
d7d313851a
s3-tldap: only include tldap when actually needed.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
e16ed3399a
s3-includes: remove completely unused util_getent.h header.
...
Guenther
2010-05-18 00:44:27 +02:00