summaryrefslogtreecommitdiff
path: root/source4/script/mkproto.pl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15642: add an '--always-create' option to mkproto.plStefan Metzmacher1-4/+9
with this the proto headers will be always regenerated, even if the content hasn't changed you can use currently by #>make MK_PROTO_ALWAYS_CREATE=yes' or #>export MK_PROTO_ALWAYS_CREATE=yes #>make metze (This used to be commit 248d56af9d8841a0953686c7f2c2fac60bb41595)
2007-10-10r15036: Add out of tree build support and see how buildfarm will respond to ↵Alexander Bokovoy1-2/+13
make constructs (This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)
2007-10-10r14607: Update mkproto.pl to only write out new header files if the contents ↵Jelmer Vernooij1-37/+88
changed. (This used to be commit 06403ea2be9ce38dbd099e710ccf17dc4340fa43)
2007-10-10r14479: Cope with _PUBLIC_ not being defined. Needed for when external projectsJelmer Vernooij1-0/+4
include this header. (This used to be commit 9bfc3c2537eb7183ba722c8c83248521c2126109)
2007-10-10r13964: make lp_* functions publicStefan Metzmacher1-6/+6
metze (This used to be commit 2db081fd708ff2403082e31a777320a713e74756)
2007-10-10r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be usedJelmer Vernooij1-1/+1
to not export symbols when building shared libraries. Symbols that have to be available to users of the library can be explicitly exported by prepending them with _PUBLIC_ in the C source. (This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
2007-10-10r13019: Again protect us against format string mismatches, with the new splitAndrew Bartlett1-1/+5
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-10r12831: add 'extern' to public prototypesStefan Metzmacher1-2/+4
metze (This used to be commit d4d2f011e2ba11dee67aa6933a75bb6088f92fc0)
2007-10-10r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.Jelmer Vernooij1-6/+6
(This used to be commit 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10r12520: Add support for --help to mkproto.plJelmer Vernooij1-7/+28
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)
2007-10-10r12494: Support loading modules from .so files for most subsystems.Jelmer Vernooij1-1/+1
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-10r12449: Fix some warningsJelmer Vernooij1-8/+8
(This used to be commit 95f6e49cb897a392c67566b8a0f674a717a1783d)
2007-10-10r12446: Merge mkproto.sh's functionality into mkproto.plJelmer Vernooij1-30/+82
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-10r7859: Merge a few scripts to one script that checks for the following unusedJelmer Vernooij1-0/+0
(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)
2007-10-10r2583: mkproto.pl now treats "int main" as a special case and avoids it.Andrew Tridgell1-0/+2
(This used to be commit 01288e82bc39af66d5e47db19691c741555e999a)
2007-10-10r2407: extend mkproto.pl to handle smb_ucs2_t for toupper_w()Andrew Tridgell1-1/+1
(This used to be commit fe60e899d71b18ee1cd6e2e05cf1ac0fa3a043bd)
2007-10-10r1904: catch the common gtk function prototypes with make protoStefan Metzmacher1-1/+2
metze (This used to be commit b3cae309ae3afddfded7ef224d2c67ebbcd90d8a)
2007-10-10r1123: Make all lp_ string functions return 'const char *'.Andrew Bartlett1-1/+1
Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
2007-10-10r20: Add the registry library. Still needs a lot of work,Jelmer Vernooij1-1/+1
see source/lib/registry/TODO for details. (This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
2003-12-16more portability fixes. We now almost compile on solarisAndrew Tridgell1-1/+3
(This used to be commit f4abd20b8437703211676fb12ea23af8f0e4642a)
2003-11-23by using a single proto.h we gain another factor of 4 in the speed ofAndrew Tridgell1-7/+8
"make proto" (This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)
2003-11-23final bit of tidyup and speedupAndrew Tridgell1-30/+13
(This used to be commit 1c980e6c4e89b24aa8fedf0b6684cd73f34b6c25)
2003-11-23much faster inner loop and neater codeAndrew Tridgell1-58/+54
(This used to be commit 9ea02c51d449095b7f17edb3fb82d3722cdd9c20)
2003-11-23fixed loadparm handling properlyAndrew Tridgell1-41/+20
(This used to be commit 945ada7e7ec0f4b4df559bc171b9b18d30eff834)
2003-11-23nicer base type handlingAndrew Tridgell1-6/+6
(This used to be commit e58384eb53b654768d2eb53c222529849674753c)
2003-11-23reduced the number of magic types we need in mkproto.plAndrew Tridgell1-46/+54
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-23changed to perl for mkproto, patch from vanceAndrew Tridgell1-0/+140
(This used to be commit 9386326868f43dab95b5508ce0ca5a9c1160a2eb)