Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
metze
(This used to be commit d4d2f011e2ba11dee67aa6933a75bb6088f92fc0)
|
|
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
|
|
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM]
and [LIBRARY] sections in .mk files. Public functions can be marked
by adding _PUBLIC_ between their return type and function name.
This should eventually make include/proto.h and include/structs.h obsolete.
(This used to be commit cdfd20fa17c5c4655689e8611e0106d5716b6995)
|
|
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)
|
|
(This used to be commit 95f6e49cb897a392c67566b8a0f674a717a1783d)
|
|
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)
|
|
(used in configure.in, but their output is never used) autoconf macros:
- AC_DEFINE
- AC_CHECK_FUNC
- AC_CHECK_FUNCS
- AC_CHECK_HEADER
- AC_CHECK_HEADERS
(This used to be commit 897d7b7d390815778adea1adf5e73b94f75a3048)
|
|
(This used to be commit 01288e82bc39af66d5e47db19691c741555e999a)
|
|
(This used to be commit fe60e899d71b18ee1cd6e2e05cf1ac0fa3a043bd)
|
|
metze
(This used to be commit b3cae309ae3afddfded7ef224d2c67ebbcd90d8a)
|
|
Fix other 'const' warnings in the torture code.
Andrew Bartlett
(This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
|
|
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
|
|
(This used to be commit f4abd20b8437703211676fb12ea23af8f0e4642a)
|
|
"make proto"
(This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)
|
|
(This used to be commit 1c980e6c4e89b24aa8fedf0b6684cd73f34b6c25)
|
|
(This used to be commit 9ea02c51d449095b7f17edb3fb82d3722cdd9c20)
|
|
(This used to be commit 945ada7e7ec0f4b4df559bc171b9b18d30eff834)
|
|
(This used to be commit e58384eb53b654768d2eb53c222529849674753c)
|
|
In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.
(This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
|
|
(This used to be commit 9386326868f43dab95b5508ce0ca5a9c1160a2eb)
|