1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

193 Commits

Author SHA1 Message Date
Stefan Metzmacher
a57133c56e 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
(This used to be commit d8e8838674)
2007-10-10 14:18:31 -05:00
Andrew Tridgell
f64b2474be r18278: move more header checks and _GNU_SOURCE into libreplace
(This used to be commit 77c442cd46)
2007-10-10 14:18:00 -05:00
Jelmer Vernooij
a59706f721 r18121: Simplify m4 code, hopefully fix Samba4 build problems.
(This used to be commit 1adf65b4d7)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
3953c21202 r18118: its the job of libreplace to handle things like this
(This used to be commit fa47301c0e)
2007-10-10 14:17:34 -05:00
Andrew Tridgell
b7477fb388 r18117: first steps in making samba4 use libreplace
(This used to be commit c079cedb08)
2007-10-10 14:17:34 -05:00
Jelmer Vernooij
847e80dee9 r15224: Check whether -MT is actually supported by the compiler before using
automatic dependencies
(This used to be commit 6598efc6b3)
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
4a61e4901e r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
c50125f6ef r14844: Support a stdbool.h replacement in lib/replace/
(This used to be commit bccfddcafa)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
935af3eb19 r14724: Rearrange some source files, install more headers.
(This used to be commit 7146c1600f)
2007-10-10 13:59:14 -05:00
Jelmer Vernooij
35349a58df r14542: Remove librpc, libndr and libnbt from includes.h
(This used to be commit 51b4270513)
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
83d8fd3dcf r14484: Install more headers
(This used to be commit 430c6516d3)
2007-10-10 13:57:31 -05:00
Andrew Tridgell
0558619254 r14411: mark smb_panic() as a noreturn function using gcc attributes, which
tells static analysers that it behaves like abort()
(This used to be commit 3cde18beae)
2007-10-10 13:57:20 -05:00
Jelmer Vernooij
e5ea1d3691 r14384: Remove orpc code from includes.h
(This used to be commit 206d182cfb)
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
61933e159c r14381: Kill structs.h
(This used to be commit 1ffb82a759)
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
e3f2414cf9 r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1df)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
3f16241a1d r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c30513)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
227a789351 r14362: Only include ndr_compression.h when necessary.
(This used to be commit 4fced6dbbd)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
9865048bf4 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)
(This used to be commit 7213b7498e)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7a121583b4 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.
(This used to be commit 3da79bf909)
2007-10-10 13:57:14 -05:00
Andrew Tridgell
8fd131a9d4 r14294: conditionally define _PUBLIC_, so you can disable it easily with -D_PUBLIC_=
(This used to be commit 6c6bd77ec2)
2007-10-10 13:57:09 -05:00
Stefan Metzmacher
32b0bb64bc r14205: move smb specific stuff out of includes.h (finally!!!:-)
all this changes really help ccache to speed up the samba4 build:-)

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

metze
(This used to be commit d1bae931b3)
2007-10-10 13:52:17 -05:00
Jelmer Vernooij
4d8fe47f7f r13849: More improvements to the libutil docs.
(This used to be commit eed16ac3b7)
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
8ef42b1fab r13847: Fix some portability issues with the visibility attribute.
(This used to be commit fe5eae0e98)
2007-10-10 13:52:15 -05:00
Stefan Metzmacher
4dcab29f51 r13811: nicer format...
metze
(This used to be commit 89f7a2b93f)
2007-10-10 13:52:13 -05:00
Stefan Metzmacher
e0f691b1e1 r13810: global data types are defined in core.h now...
metze
(This used to be commit c6137a1af9)
2007-10-10 13:52:12 -05:00
Stefan Metzmacher
2debfc918c r13809: move ldb specific define
metze
(This used to be commit 6f47fcbd44)
2007-10-10 13:52:12 -05:00
Stefan Metzmacher
f2ab61b129 r13808: remove unused define
metze
(This used to be commit b639b814d9)
2007-10-10 13:52:12 -05:00
Jelmer Vernooij
dfc517b053 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/
(This used to be commit ba62880f5b)
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
d3bcaf66a8 r13654: Move some more stuff out of include/
(This used to be commit 2ec7bba03a)
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
10d88a02d7 r13652: Move some more stuff out off include/
(This used to be commit 26bf2a393b)
2007-10-10 13:52:04 -05:00
Andrew Bartlett
aecd9827c6 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
(This used to be commit a88933668f)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
720041d078 r12832: make it possible to pass -D_PUBLIC_... to the compiler
metze
(This used to be commit 5540509f10)
2007-10-10 13:50:04 -05:00
Jelmer Vernooij
5c8447773f r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
(This used to be commit 243cf760b0)
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
78c50015bb r12694: Move some headers to the directory of the subsystem they belong to.
(This used to be commit c722f665c9)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
25bb00fbcd r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b2)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
2cd5ca7d25 r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd513)
2007-10-10 13:47:55 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
6aafed9600 r12499: Move smb_build.h out of includes.h
(This used to be commit c92ace494f)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
448483199f 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).
(This used to be commit b6d2ad4ce0)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
52728b7d41 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.
(This used to be commit e3466df6df)
2007-10-10 13:47:40 -05:00
Jelmer Vernooij
efe67458c1 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
(This used to be commit 4322962074)
2007-10-10 13:47:19 -05:00
Andrew Bartlett
2c6ecae4e6 r10982: Move credentials.h into auth/credentials, and add flags needed by
previous patch.

Andrew Bartlett
(This used to be commit 2c537d47ba)
2007-10-10 13:39:50 -05:00
Jelmer Vernooij
4abb479761 r10588: Remove more unused files, macros
(This used to be commit d2f80c0457)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
42b81d7c3e r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
(This used to be commit 540155fad3)
2007-10-10 13:39:02 -05:00
Andrew Tridgell
675f81eed3 r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so the
type is always available, which means we need less #ifdefs
(This used to be commit d4af4b11ae)
2007-10-10 13:39:01 -05:00
Jelmer Vernooij
49839f356f r10513: Reduce some use of pstring. The main reason some parts of the code still
use pstring is next_token() now.
(This used to be commit a5b88bcd42)
2007-10-10 13:38:58 -05:00