VERSION: Disable GIT_SNAPSHOT for the 4.17.0rc4 release.
[Samba.git] / lib / smbconf / pysmbconf.h
blobe8c6c9998e317f29ff15dfd3e06d6c0d93238ace
1 /*
2 * Unix SMB/CIFS implementation.
3 * libsmbconf - Samba configuration library - Python bindings
5 * Copyright (C) John Mulligan <phlogistonjohn@asynchrono.us> 2022
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef _PYSMBCONF_H_
22 #define _PYSMBCONF_H_
24 #include <Python.h>
25 #include "lib/smbconf/smbconf.h"
27 typedef struct {
28 PyObject_HEAD
30 /* C values embedded in our python type */
31 TALLOC_CTX * mem_ctx;
32 struct smbconf_ctx *conf_ctx;
33 } py_SMBConf_Object;
36 #endif /* _PYSMBCONF_H_ */