1 /*
2  * Python object definition of the libfwsi file entry extension block
3  *
4  * Copyright (C) 2010-2021, Joachim Metz <joachim.metz@gmail.com>
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( _PYFWSI_FILE_ENTRY_EXTENSION_H )
23 #define _PYFWSI_FILE_ENTRY_EXTENSION_H
24 
25 #include <common.h>
26 #include <types.h>
27 
28 #include "pyfwsi_extension_block.h"
29 #include "pyfwsi_python.h"
30 
31 #if defined( __cplusplus )
32 extern "C" {
33 #endif
34 
35 extern PyMethodDef pyfwsi_file_entry_extension_object_methods[];
36 extern PyTypeObject pyfwsi_file_entry_extension_type_object;
37 
38 PyObject *pyfwsi_file_entry_extension_get_creation_time(
39            pyfwsi_extension_block_t *pyfwsi_extension_block,
40            PyObject *arguments );
41 
42 PyObject *pyfwsi_file_entry_extension_get_creation_time_as_integer(
43            pyfwsi_extension_block_t *pyfwsi_extension_block,
44            PyObject *arguments );
45 
46 PyObject *pyfwsi_file_entry_extension_get_access_time(
47            pyfwsi_extension_block_t *pyfwsi_extension_block,
48            PyObject *arguments );
49 
50 PyObject *pyfwsi_file_entry_extension_get_access_time_as_integer(
51            pyfwsi_extension_block_t *pyfwsi_extension_block,
52            PyObject *arguments );
53 
54 PyObject *pyfwsi_file_entry_extension_get_long_name(
55            pyfwsi_extension_block_t *pyfwsi_extension_block,
56            PyObject *arguments );
57 
58 PyObject *pyfwsi_file_entry_extension_get_localized_name(
59            pyfwsi_extension_block_t *pyfwsi_extension_block,
60            PyObject *arguments );
61 
62 PyObject *pyfwsi_file_entry_extension_get_file_reference(
63            pyfwsi_extension_block_t *pyfwsi_extension_block,
64            PyObject *arguments );
65 
66 #if defined( __cplusplus )
67 }
68 #endif
69 
70 #endif /* !defined( _PYFWSI_FILE_ENTRY_EXTENSION_H ) */
71 
72