1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00
Commit Graph

195 Commits

Author SHA1 Message Date
Stefan Metzmacher
909d736a4b r19242: merge from samba3:
handle NO_CONFIG_H in libreplace

metze
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
6bdb329da5 r18448: this gives nicer output...
metze
2007-10-10 14:18:31 -05:00
Stefan Metzmacher
d8e8838674 r18447: make sure we bail out if the config.h is not generated
by samba's configure.

this could happen when you have done a standalone build in
lib/replace/, lib/talloc, ...

metze
2007-10-10 14:18:31 -05:00
Andrew Tridgell
77c442cd46 r18278: move more header checks and _GNU_SOURCE into libreplace 2007-10-10 14:18:00 -05:00
Jelmer Vernooij
1adf65b4d7 r18121: Simplify m4 code, hopefully fix Samba4 build problems. 2007-10-10 14:17:35 -05:00
Andrew Tridgell
fa47301c0e r18118: its the job of libreplace to handle things like this 2007-10-10 14:17:34 -05:00
Andrew Tridgell
c079cedb08 r18117: first steps in making samba4 use libreplace 2007-10-10 14:17:34 -05:00
Jelmer Vernooij
6598efc6b3 r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
a5c87360a7 r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
bccfddcafa r14844: Support a stdbool.h replacement in lib/replace/ 2007-10-10 13:59:41 -05:00
Jelmer Vernooij
7146c1600f r14724: Rearrange some source files, install more headers. 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
430c6516d3 r14484: Install more headers 2007-10-10 13:57:31 -05:00
Andrew Tridgell
3cde18beae r14411: mark smb_panic() as a noreturn function using gcc attributes, which
tells static analysers that it behaves like abort()
2007-10-10 13:57:20 -05:00
Jelmer Vernooij
206d182cfb r14384: Remove orpc code from includes.h 2007-10-10 13:57:17 -05:00
Jelmer Vernooij
1ffb82a759 r14381: Kill structs.h 2007-10-10 13:57:17 -05:00
Jelmer Vernooij
1a16a6f1df r14380: Reduce the size of structs.h 2007-10-10 13:57:16 -05:00
Jelmer Vernooij
98c4c30513 r14363: Remove credentials.h from the global includes. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
4fced6dbbd r14362: Only include ndr_compression.h when necessary. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7213b7498e r14361: Support 'helper' attribute in pidl and use it.
Remove some headers from include/includes.h (they're now only included
in the file they are used)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
3da79bf909 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
2007-10-10 13:57:14 -05:00
Andrew Tridgell
6c6bd77ec2 r14294: conditionally define _PUBLIC_, so you can disable it easily with -D_PUBLIC_= 2007-10-10 13:57:09 -05:00
Stefan Metzmacher
180a79d103 r14205: move smb specific stuff out of includes.h (finally!!!:-)
all this changes really help ccache to speed up the samba4 build:-)

metze
2007-10-10 13:57:03 -05:00
Jelmer Vernooij
2d655f0528 r13938: Around round of splitups 2007-10-10 13:52:29 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
c80a8f1102 r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
2007-10-10 13:52:21 -05:00
Stefan Metzmacher
d1bae931b3 r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
- the default max protocol is still NT1

metze
2007-10-10 13:52:17 -05:00
Jelmer Vernooij
eed16ac3b7 r13849: More improvements to the libutil docs. 2007-10-10 13:52:15 -05:00
Jelmer Vernooij
fe5eae0e98 r13847: Fix some portability issues with the visibility attribute. 2007-10-10 13:52:15 -05:00
Stefan Metzmacher
89f7a2b93f r13811: nicer format...
metze
2007-10-10 13:52:13 -05:00
Stefan Metzmacher
c6137a1af9 r13810: global data types are defined in core.h now...
metze
2007-10-10 13:52:12 -05:00
Stefan Metzmacher
6f47fcbd44 r13809: move ldb specific define
metze
2007-10-10 13:52:12 -05:00
Stefan Metzmacher
b639b814d9 r13808: remove unused define
metze
2007-10-10 13:52:12 -05:00
Jelmer Vernooij
ba62880f5b r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
2ec7bba03a r13654: Move some more stuff out of include/ 2007-10-10 13:52:05 -05:00
Jelmer Vernooij
26bf2a393b r13652: Move some more stuff out off include/ 2007-10-10 13:52:04 -05:00
Andrew Bartlett
a88933668f r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
5540509f10 r12832: make it possible to pass -D_PUBLIC_... to the compiler
metze
2007-10-10 13:50:04 -05:00
Jelmer Vernooij
243cf760b0 r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
c722f665c9 r12694: Move some headers to the directory of the subsystem they belong to. 2007-10-10 13:49:39 -05:00
Jelmer Vernooij
73610639b2 r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
0aca5fd513 r12542: Move some more prototypes out to seperate headers 2007-10-10 13:47:55 -05:00
Jelmer Vernooij
87f665a1d5 r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server. 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
c92ace494f r12499: Move smb_build.h out of includes.h 2007-10-10 13:47:45 -05:00
Jelmer Vernooij
b6d2ad4ce0 r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

	init_module_fn static_init[] = STATIC_AUTH_MODULES;
	init_module_fn *shared_init = load_samba_modules(NULL, "auth");

	run_init_functions(static_init);
	run_init_functions(shared_init);

	talloc_free(shared_init);

I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
e3466df6df r12446: Merge mkproto.sh's functionality into mkproto.pl
Allow specifying the _PUBLIC_ keyword on functions to indicate a function
is public.

Public prototypes can now be written to a seperate header, although this
functionality is not used yet.
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
4322962074 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -05:00
Andrew Bartlett
2c537d47ba r10982: Move credentials.h into auth/credentials, and add flags needed by
previous patch.

Andrew Bartlett
2007-10-10 13:39:50 -05:00
Jelmer Vernooij
d2f80c0457 r10588: Remove more unused files, macros 2007-10-10 13:39:08 -05:00
Jelmer Vernooij
540155fad3 r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
2007-10-10 13:39:02 -05:00