From bcc16f191175740f200c12925b63d45478f06454 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 10 Apr 2012 12:09:20 +0300 Subject: s4-libnet: split export_keytab in a separate python module to avoid pulling in HDB dependency Signed-off-by: Andreas Schneider Autobuild-User: Andreas Schneider Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104 --- source4/libnet/py_net.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 source4/libnet/py_net.h (limited to 'source4/libnet/py_net.h') diff --git a/source4/libnet/py_net.h b/source4/libnet/py_net.h new file mode 100644 index 0000000000..2894d47fe0 --- /dev/null +++ b/source4/libnet/py_net.h @@ -0,0 +1,24 @@ +/* + Unix SMB/CIFS implementation. + Samba python bindings to libnet library + + 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 3 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, see . +*/ + +typedef struct { + PyObject_HEAD + TALLOC_CTX *mem_ctx; + struct libnet_context *libnet_ctx; + struct tevent_context *ev; +} py_net_Object; -- cgit