summaryrefslogtreecommitdiff
path: root/source3/python/py_tdb.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-21 07:43:35 +0000
committerTim Potter <tpot@samba.org>2002-05-21 07:43:35 +0000
commit8a35fba95bd966924216dc959b4edd18bd2bd47c (patch)
tree5985fcafbc393fb2e0dbf677bbedd90dd7ebe4d4 /source3/python/py_tdb.h
parent27960c8f4fd198353738b7db9fd68ca7e119323f (diff)
downloadsamba-8a35fba95bd966924216dc959b4edd18bd2bd47c.tar.gz
samba-8a35fba95bd966924216dc959b4edd18bd2bd47c.tar.bz2
samba-8a35fba95bd966924216dc959b4edd18bd2bd47c.zip
A tdb module based on some tips from Mike Noriega. This version supports
locking and tdb traversal using python callbacks. (This used to be commit f3530fd6180bb78a58a3f41ac1389c9f0ba7b183)
Diffstat (limited to 'source3/python/py_tdb.h')
-rw-r--r--source3/python/py_tdb.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/python/py_tdb.h b/source3/python/py_tdb.h
new file mode 100644
index 0000000000..d4ce4920a6
--- /dev/null
+++ b/source3/python/py_tdb.h
@@ -0,0 +1,29 @@
+/*
+ Python wrappers for DCERPC/SMB client routines.
+
+ Copyright (C) Tim Potter, 2002
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+#ifndef _PY_TDB_H
+#define _PY_TDB_H
+
+#include "includes.h"
+#include "Python.h"
+
+#include "python/py_common.h"
+
+#endif /* _PY_TDB_H */