Jelmer Vernooij
4a61e4901e
r14999: Remove more unused autoconf code
...
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
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 bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
935af3eb19
r14724: Rearrange some source files, install more headers.
...
(This used to be commit 7146c1600f29c349e5bb78f810e7e170b535dd37)
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 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
83d8fd3dcf
r14484: Install more headers
...
(This used to be commit 430c6516d383bfd7f27287394bf8eef9f174b3e6)
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 3cde18beaed736a48e195550c7e423bccc95c820)
2007-10-10 13:57:20 -05:00
Jelmer Vernooij
e5ea1d3691
r14384: Remove orpc code from includes.h
...
(This used to be commit 206d182cfb78ec2258ceca1be2dd5e3c06649312)
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
61933e159c
r14381: Kill structs.h
...
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
e3f2414cf9
r14380: Reduce the size of structs.h
...
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
3f16241a1d
r14363: Remove credentials.h from the global includes.
...
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
227a789351
r14362: Only include ndr_compression.h when necessary.
...
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
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 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
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 3da79bf909f801386a52e6013db399c384d0401c)
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 6c6bd77ec2eb7d47e1f2c54f939d479e7d0fd7d9)
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 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10 13:57:03 -05:00
Jelmer Vernooij
17ae598141
r13938: Around round of splitups
...
(This used to be commit 2d655f05285a86bb1bbb882e4dd843def15c9dfa)
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 122835876748a3eaf5e8d31ad1abddab9acb8781)
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 c80a8f1102caf744b66c13bebde38fba74983dc4)
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 d1bae931b327dda28e648efc473e0462cf036f7c)
2007-10-10 13:52:17 -05:00
Jelmer Vernooij
4d8fe47f7f
r13849: More improvements to the libutil docs.
...
(This used to be commit eed16ac3b7f7062a34f09f602db0f828cac7f246)
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 fe5eae0e983d1c8634dd9b7caf19cd103c641223)
2007-10-10 13:52:15 -05:00
Stefan Metzmacher
4dcab29f51
r13811: nicer format...
...
metze
(This used to be commit 89f7a2b93f7b69339baddff2ac30e648d7b2f8b9)
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 c6137a1af982bd77e4b24d05e82c8621b36d0fac)
2007-10-10 13:52:12 -05:00
Stefan Metzmacher
2debfc918c
r13809: move ldb specific define
...
metze
(This used to be commit 6f47fcbd44ae83e7268aedf91ac56fff4189c763)
2007-10-10 13:52:12 -05:00
Stefan Metzmacher
f2ab61b129
r13808: remove unused define
...
metze
(This used to be commit b639b814d912891d32c31f0995df7c06d6a10522)
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 ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
d3bcaf66a8
r13654: Move some more stuff out of include/
...
(This used to be commit 2ec7bba03a2edf713004941e9ed74798f5cf8d32)
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
10d88a02d7
r13652: Move some more stuff out off include/
...
(This used to be commit 26bf2a393b90acc098be0b30886dbba34d348a01)
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 a88933668f908a398bb0d8bc7dc39c96cee40de6)
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 5540509f10e3fee4c653081a3bc56213d40869df)
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 243cf760b077e155f5ac508aeebf819f7708a84e)
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 c722f665c90103f3ed57621c460e32ad33e7a8a3)
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 73610639b23ca3743077193fa0b1de7c7f65944d)
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 0aca5fd5130d980d07398f3291d294202aefe3c2)
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 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
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 c92ace494f92084ddf178626cdf392d151043bc7)
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 b6d2ad4ce0a91c4be790dd258820c492ff1787ea)
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 e3466df6dfb62bbf8bee3acfa92996945054c2dd)
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 432296207400636dd81d0929ec7b1b4cebbcaa62)
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 2c537d47ba99885c6462016342b1cc29df4c54c5)
2007-10-10 13:39:50 -05:00
Jelmer Vernooij
4abb479761
r10588: Remove more unused files, macros
...
(This used to be commit d2f80c0457f7404b2cac9df59a400130e9ad025f)
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 540155fad3c8e3d79fb631bb3f14273f82130a73)
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 d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
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 a5b88bcd420eb7ae42283293541519e142be36e3)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
f801ad3592
r10510: Decrease the amount of data included by includes.h a bit
...
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
f3b412fbd6
r10438: Move portability functions to lib/replace/; replace now simply ensures
...
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.
Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
(This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10 13:38:45 -05:00
Andrew Bartlett
24186a80eb
r9728: A *major* update to the credentials system, to incorporate the
...
Kerberos CCACHE into the system.
This again allows the use of the system ccache when no username is
specified, and brings more code in common between gensec_krb5 and
gensec_gssapi.
It also has a side-effect that may (or may not) be expected: If there
is a ccache, even if it is not used (perhaps the remote server didn't
want kerberos), it will change the default username.
Andrew Bartlett
(This used to be commit 6202267f6ec1446d6bd11d1d37d05a977bc8d315)
2007-10-10 13:34:54 -05:00
Jelmer Vernooij
f30eba5222
r8940: Add TDR (Trivial Data Representation). The aim is to use this later for
...
NBT/WINS/etc rather then having to depend on NDR.
(This used to be commit 5ee7af26dd220de06f1764cd1683abedeeda5131)
2007-10-10 13:30:59 -05:00
Jelmer Vernooij
5b94a9583f
r8806: Move data representation-independent data into seperate header
...
(This used to be commit 26e1fdf63007e28468a05b18bede1e69981edc12)
2007-10-10 13:30:06 -05:00
Tim Potter
a33c02612a
r8713: Experiment to try and fix warnings on 64-bit machines without breaking
...
32-bit ones. Yes, this weird looking macros are part of C99.
(This used to be commit 7b316f119b8486b75ebe63b185c50fab82313e58)
2007-10-10 13:29:57 -05:00