summaryrefslogtreecommitdiff
path: root/source4/script/mkproto.pl
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08lib/param: Merge struct loadparm_service into commonAndrew Bartlett1-21/+33
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
2010-09-11s4-param: move back to auto-generation of loadparm prototypesAndrew Tridgell1-3/+3
2009-06-01s4:mkproto: Add NET_API_STATUS return type.Andrew Kroeger1-1/+1
The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type for some functions. The torture/libnetapi/proto.h private header that was being generated by mkproto.pl did not include a prototype for the test_netuseradd() function, as it did not know how to handle the NET_API_STATUS return type.
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-29Allow absolute paths to be specified to mkproto.pl.Jelmer Vernooij1-1/+3
(This used to be commit 46d8d02028869c97226648113d6bff1c06477d61)
2008-02-28Remove sDefault as static variable.Jelmer Vernooij1-1/+1
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-01-05r26675: mkproto: Add --all argument, fix some perl warnings.Jelmer Vernooij1-10/+9
(This used to be commit a175ee6594046c44572e3314ab7c3b61dcd7422f)
2007-10-10r25555: Remove support for BOOL, True and False.Jelmer Vernooij1-4/+1
(This used to be commit 18a2bcfa9e7d4718648f401821259d1dbf5a3ff4)
2007-10-10r25449: Add convenience function for opening the default smb.conf for ↵Jelmer Vernooij1-1/+1
openchange. (This used to be commit 5f023ef7a4046442a96768b926546f93735c9666)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25115: move normalizing of the define string into a functionStefan Metzmacher1-11/+15
and replace '-' with '_' as '-' isn't a string constant in C jelmer: I assume the "..". for the public header was a bug... metze (This used to be commit 5522ee146151603e64e0fc26fc8c900b0403c883)
2007-10-10r25039: Rename service -> loadparm_service, use context more.Jelmer Vernooij1-1/+1
(This used to be commit ab417cb32bd348c05b20707e73297df05c920079)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-1/+3
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r23542: Include function documentation in prototype headers.Jelmer Vernooij1-0/+16
(This used to be commit 03eef5f337446f04239e0b2f840213f0aa7d6ea1)
2007-10-10r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, ↵Jelmer Vernooij1-1/+6
_NORETURN_ and _WARN_UNUSED_RESULT_. (This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
2007-10-10r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.plJelmer Vernooij1-4/+4
(This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c)
2007-10-10r19633: Merge to lorikeet-heimdal, removing krb5_rd_req_return_keyblock in ↵Andrew Bartlett1-1/+1
favour of a more tasteful replacement. Remove kerberos_verify.c, as we don't need that code any more. Replace with code for using the new krb5_rd_req_ctx() borrowed from Heimdal's accecpt_sec_context.c Andrew Bartlett (This used to be commit 13c9df1d4f0517468c80040d3756310d4dcbdd50)
2007-10-10r18750: Disable not updating the last-modifification-time of proto headers ↵Jelmer Vernooij1-13/+5
because this was confusing make. (This used to be commit 4f5987e77f653984c60e3b34cd5aac5aa0a01124)
2007-10-10r18171: Generate prototypes for functions returning bool.Jelmer Vernooij1-2/+3
(This used to be commit 587a681c19a2747faaf83157e94dba998b6caf42)
2007-10-10r17838: revert rev 17754Stefan Metzmacher1-5/+16
readd --always-create option to mkproto.pl metze (This used to be commit 1686c69d0e784220aba053e3dd21f6d14cc86929)
2007-10-10r17754: remove the --always-create option from mkproto.plStefan Metzmacher1-16/+5
and make this behavior the default. as with make 3.81 and autodependencies this way is much faster as make can use faster codepathes internally. (without this make needed more and more startup time after using autodependencies for a few weeks) metze (This used to be commit e85d7eeb0a233ffb88bec1bc88b697c18bba1ed4)
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)