pytdb: Add support for tdb_add_flags() & tdb_remove_flags()
commitc4b1971259638875317aa991b6a119b668ac03a8
authorKirill Smelkov <kirr@mns.spb.ru>
Sun, 19 Sep 2010 09:53:20 +0000 (19 13:53 +0400)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 19 Sep 2010 16:31:08 +0000 (19 09:31 -0700)
treeed225ad1d9bb1d483d7e0509516a0a3d6a5e1d74
parent92eccf89a188702b79d9f4ac59f2ff4c5c7aeaac
pytdb: Add support for tdb_add_flags() & tdb_remove_flags()

Note, unlike tdb_open where flags is `int', tdb_{add,remove}_flags want
flags as `unsigned', so instead of "i" I used "I" in PyArg_ParseTuple.

Cc: 597386@bugs.debian.org
Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
lib/tdb/pytdb.c
lib/tdb/python/tests/simple.py