Remove warning.
[jelmer/openchange.git] / pyopenchange / pymapi.h
1 /*
2    OpenChange MAPI implementation.
3
4    Python interface to openchange
5
6    Copyright (C) Julien Kerihuel 2010.
7
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3 of the License, or
11    (at your option) any later version.
12    
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17    
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef __PYMAPI_H_
23 #define __PYMAPI_H_
24
25 #include <Python.h>
26 #include "libmapi/libmapi.h"
27 #include <talloc.h>
28
29 typedef struct {
30         PyObject_HEAD
31         TALLOC_CTX              *mem_ctx;
32         struct SPropValue       *SPropValue;
33         uint32_t                cValues;
34 } PySPropValueObject;
35
36 PyAPI_DATA(PyTypeObject)        PySPropValue;
37
38 /* definitions from auto-generated pymapi_properties.c */
39 int pymapi_add_properties(PyObject *);
40
41 #endif /* ! __PYMAPI_H_ */