summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* talloc: test talloc_steal out of a talloc_poolStefan Metzmacher2011-05-171-0/+69
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 09:43:01 CEST 2011 on sn-devel-104
* talloc: add memset() calls to test_pool()Stefan Metzmacher2011-05-171-0/+17
| | | | | | This way we the pool based valgrind code. metze
* talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK() _talloc_realloc()Stefan Metzmacher2011-05-171-0/+1
| | | | metze
* talloc: make really sure only optimize realloc if there's only one pool chunkStefan Metzmacher2011-05-171-1/+6
| | | | | | | *talloc_pool_objectcount(pool_tc) == 2 doesn't mean the one of the objects is the pool itself! So we better check for == 1 and calculate the chunk count. metze
* talloc: make use of _talloc_free_poolmem() in _talloc_realloc()Stefan Metzmacher2011-05-171-15/+1
| | | | | | This should follow the same logic... metze
* talloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internalStefan Metzmacher2011-05-171-32/+66
| | | | | | | | | | | | | | | The optimization of the object_count == 1 case should only happen for when we're not destroying the pool itself. And it should only happen if the pool itself is still valid. If the pool isn't valid (it has TALLOC_FLAG_FREE), object_count == 1 does not mean that the pool is the last object, which can happen if you use talloc_steal/move() on memory from the pool and then free the pool itself. Thanks to Volker for noticing this! metze
* Use ZERO_STRUCTP in util_netVolker Lendecke2011-05-141-2/+2
|
* lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett2011-05-136-1/+1028
| | | | | | | This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
* lib/util/ Fix crash bug caused by gfree_debug()Andrew Bartlett2011-05-131-1/+1
| | | | | | | The issue is that we should reset the debug_num_classes to 0 when we un-initialise the debug system. Andrew Bartlett
* lib/replace: fix an #if HAVE_GSSAPI_GSSAPI_EXT_H to be an #ifdefMichael Adam2011-05-101-1/+1
|
* libsmbconf: Define a doxygen group for libsmbconf.Andreas Schneider2011-05-101-0/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_transaction_cancel().Andreas Schneider2011-05-101-0/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_transaction_commit().Andreas Schneider2011-05-101-0/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_transaction_start().Andreas Schneider2011-05-101-0/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_delete_global_includes().Andreas Schneider2011-05-101-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_delete_includes().Andreas Schneider2011-05-101-0/+12
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_set_global_includes().Andreas Schneider2011-05-101-0/+12
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_set_includes().Andreas Schneider2011-05-101-0/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_global_includes().Andreas Schneider2011-05-101-0/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_includes().Andreas Schneider2011-05-101-0/+17
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_delete_global_parameter().Andreas Schneider2011-05-101-0/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_delete_parameter().Andreas Schneider2011-05-101-0/+13
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_global_parameter().Andreas Schneider2011-05-101-0/+17
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_parameter().Andreas Schneider2011-05-101-0/+17
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_set_global_parameter().Andreas Schneider2011-05-101-0/+16
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_set_parameter().Andreas Schneider2011-05-101-0/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_delete_share().Andreas Schneider2011-05-101-0/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_share().Andreas Schneider2011-05-101-0/+18
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_create_share().Andreas Schneider2011-05-101-0/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_share_exists().Andreas Schneider2011-05-101-0/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_share_names().Andreas Schneider2011-05-101-0/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_get_config().Andreas Schneider2011-05-101-4/+22
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_drop().Andreas Schneider2011-05-101-0/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_changed().Andreas Schneider2011-05-101-0/+20
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_shutdown().Andreas Schneider2011-05-101-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_is_writeable().Andreas Schneider2011-05-101-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Document smbconf_backend_requires_messaging().Andreas Schneider2011-05-101-2/+14
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_config() to sbcErr.Andreas Schneider2011-05-102-10/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider2011-05-104-15/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider2011-05-104-11/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider2011-05-104-12/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider2011-05-104-18/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider2011-05-104-11/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider2011-05-104-17/+17
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-104-11/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider2011-05-104-6/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider2011-05-104-16/+14
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider2011-05-104-30/+44
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider2011-05-105-40/+43
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider2011-05-104-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>