diff options
author | Alexander Bokovoy <ab@samba.org> | 2012-04-10 12:09:20 +0300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-04-12 15:23:19 +0200 |
commit | bcc16f191175740f200c12925b63d45478f06454 (patch) | |
tree | c61461de3ab2d0d5af71ae73e1028deab59cc3d0 /source4/libnet/py_net.h | |
parent | dda0531aae70e78e815fda8c594213369e76a847 (diff) | |
download | samba-bcc16f191175740f200c12925b63d45478f06454.tar.gz samba-bcc16f191175740f200c12925b63d45478f06454.tar.xz samba-bcc16f191175740f200c12925b63d45478f06454.zip |
s4-libnet: split export_keytab in a separate python module to avoid pulling in HDB dependency
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/libnet/py_net.h')
-rw-r--r-- | source4/libnet/py_net.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/source4/libnet/py_net.h b/source4/libnet/py_net.h new file mode 100644 index 00000000000..2894d47fe03 --- /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 <http://www.gnu.org/licenses/>. +*/ + +typedef struct { + PyObject_HEAD + TALLOC_CTX *mem_ctx; + struct libnet_context *libnet_ctx; + struct tevent_context *ev; +} py_net_Object; |