1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/nmbd
Michael Adam 39ec8791f8 s3: make better use of ccache by not including version.h in every C-file.
version.h changes rather frequently. Since it is included via includes.h,
this means each C file will be a cache miss. This applies to the following
situations:

* When building a new package with a new Samba version

* building in a git branch after calling mkversion.sh
  after a new commit (i.e. virtually always)

This patch improves the situation in the following way:

* remove inlude "version.h" from includes.h

* Use samba_version_string() instead of SAMBA_VERSION_STRING
  in files that use no other macro from version.h instead of
  SAMBA_VERSION_STRING.

* explicitly include "version.h" in those files that use more
  macros from "version.h" than just SAMBA_VERSION_STRING.

Michael
2009-01-15 22:56:01 +01:00
..
asyncdns.c clean event context after child is forked. 2009-01-05 15:07:31 +01:00
nmbd_become_dmb.c This is a large patch (sorry). Migrate from struct in_addr 2007-10-24 14:16:54 -07:00
nmbd_become_lmb.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
nmbd_browserdb.c r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
nmbd_browsesync.c Remove pstring from nmbd. 2007-11-19 15:15:09 -08:00
nmbd_elections.c More logical operation on bool. 2008-01-04 23:26:47 -08:00
nmbd_incomingdgrams.c Fix CID 475. work should not be checked against NULL 2008-01-11 23:56:48 -08:00
nmbd_incomingrequests.c Ensure we don't take address of one past buffer. 2008-01-09 14:35:00 -08:00
nmbd_lmhosts.c Remove pstring from nmbd. 2007-11-19 15:15:09 -08:00
nmbd_logonnames.c Add start of IPv6 implementation. Currently most of this is avoiding 2007-10-10 18:25:16 -07:00
nmbd_mynames.c Use common net utility code (address and sockaddr manipulation). 2008-10-23 20:41:15 +02:00
nmbd_namelistdb.c Fix part of bug #3617 from valgrind trace. 2008-02-29 05:51:09 -08:00
nmbd_namequery.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
nmbd_nameregister.c Fix part of bug #3617 from valgrind trace. 2008-02-29 05:51:09 -08:00
nmbd_namerelease.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
nmbd_nodestatus.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
nmbd_packets.c Use sockaddr_storage only where we rely on the size, use sockaddr 2008-10-23 19:53:15 +02:00
nmbd_processlogon.c s3:events: change event_add_timed() prototype to match samba4 2009-01-05 15:07:35 +01:00
nmbd_responserecordsdb.c Patch to fix the "Invalid read of size 4" errors. Bug #3617. 2008-02-29 06:55:33 -08:00
nmbd_sendannounce.c Use common net utility code (address and sockaddr manipulation). 2008-10-23 20:41:15 +02:00
nmbd_serverlistdb.c Remove pstring from nmbd. 2007-11-19 15:15:09 -08:00
nmbd_subnetdb.c Use sockaddr_storage only where we rely on the size, use sockaddr 2008-10-23 19:53:15 +02:00
nmbd_synclists.c Remove smbclient globals that bled into clidfs.c. Now we only have 2009-01-14 16:08:19 -08:00
nmbd_winsproxy.c Add start of IPv6 implementation. Currently most of this is avoiding 2007-10-10 18:25:16 -07:00
nmbd_winsserver.c Covert several persistant tdb files to use state_path() instead of lock_path() 2009-01-12 17:46:15 -08:00
nmbd_workgroupdb.c RIP BOOL. Convert BOOL -> bool. I found a few interesting 2007-10-18 17:40:25 -07:00
nmbd.c s3: make better use of ccache by not including version.h in every C-file. 2009-01-15 22:56:01 +01:00