Debian Codegraph @

pyvhdi/pyvhdi.h

raw symbols SCIP
1 /*
2 * Python bindings module for libvhdi (pyvhdi)
3 *
4 * Copyright (C) 2012-2025, Joachim Metz <[email protected]>
5 *
6 * Refer to AUTHORS for acknowledgements.
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser 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 Lesser General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22 #if !defined( _PYVHDI_H )
23 #define _PYVHDI_H
24
25 #include <common.h>
26 #include <types.h>
27
28 #include "pyvhdi_python.h"
29
30 #if defined( __cplusplus )
31 extern "C" {
32 #endif
33
34 PyObject *pyvhdi_get_version(
35 PyObject *self,
36 PyObject *arguments );
37
38 PyObject *pyvhdi_check_file_signature(
39 PyObject *self,
40 PyObject *arguments,
41 PyObject *keywords );
42
43 PyObject *pyvhdi_check_file_signature_file_object(
44 PyObject *self,
45 PyObject *arguments,
46 PyObject *keywords );
47
48 PyObject *pyvhdi_open_new_file(
49 PyObject *self,
50 PyObject *arguments,
51 PyObject *keywords );
52
53 PyObject *pyvhdi_open_new_file_with_file_object(
54 PyObject *self,
55 PyObject *arguments,
56 PyObject *keywords );
57
58 #if PY_MAJOR_VERSION >= 3
59 PyMODINIT_FUNC PyInit_pyvhdi(
60 void );
61 #else
62 PyMODINIT_FUNC initpyvhdi(
63 void );
64 #endif
65
66 #if defined( __cplusplus )
67 }
68 #endif
69
70 #endif /* !defined( _PYVHDI_H ) */
71