summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/pyldb.h
AgeCommit message (Collapse)AuthorFilesLines
2011-01-03pyldb: Fix memory context, add more OOM checks.Jelmer Vernooij1-1/+1
2011-01-03Make all functions in pyldb.c private, as they can't be used anyway.Jelmer Vernooij1-5/+0
2010-12-12ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer1-2/+0
"ldb_private.h" is private and therefore might not always be available.
2010-12-12ldb:pyldb - optimise includesMatthias Dieter Wallnöfer1-1/+2
2010-11-18s4-pyldb: Move PyLdbMessage_FromMessage() in PyMessage group of functionsKamen Mazdrashki1-1/+1
2010-04-20pytalloc: ensure talloc_ctx is directly after PyObject_HEADAndrew Tridgell1-6/+6
the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2009-12-21provision/pyldb: Avoid linking in static python ldb module.Jelmer Vernooij1-1/+0
2009-07-18Remove pyldb_util and simply duplicate the 5-line function it contains,Jelmer Vernooij1-1/+0
rather than creating a separate shared library for it.
2009-06-02Fix finding the LDB header files in the system in pyldb_util.Jelmer Vernooij1-0/+1
2009-06-02Fix more unresolved symbols.Jelmer Vernooij1-10/+7
2008-12-23pyldb: Avoid use of pytalloc, as it may not be available.Jelmer Vernooij1-18/+38
2008-12-21Fix various Python-related bugs.Jelmer Vernooij1-2/+2
2008-12-21Fix more introduced regressions in new bindings.Jelmer Vernooij1-1/+1
2008-12-21Implement some of the stubs in misc python module.Jelmer Vernooij1-0/+1
2008-12-20Use plain C implementation for misc Python module rather than SWIG.Jelmer Vernooij1-2/+2
2008-12-19Fix more tests.Jelmer Vernooij1-1/+22
2008-12-19Initial work using manual Python bindings for LDB, rather than ↵Jelmer Vernooij1-0/+59
SWIG-generated ones.