1 /*
2  * The internal definitions
3  *
4  * Copyright (C) 2013-2019, 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( LIBFWPS_INTERNAL_DEFINITIONS_H )
23 #define LIBFWPS_INTERNAL_DEFINITIONS_H
24 
25 #include <common.h>
26 #include <types.h>
27 
28 /* Define HAVE_LOCAL_LIBFWPS for local use of libfwps
29  */
30 #if !defined( HAVE_LOCAL_LIBFWPS )
31 #include <libfwps/definitions.h>
32 
33 /* The definitions in <libfwps/definitions.h> are copied here
34  * for local use of libfwps
35  */
36 #else
37 #include <byte_stream.h>
38 
39 #define LIBFWPS_VERSION				20191221
40 
41 /* The version string
42  */
43 #define LIBFWPS_VERSION_STRING			"20191221"
44 
45 /* The byte order definitions
46  */
47 #define LIBFWPS_ENDIAN_BIG			_BYTE_STREAM_ENDIAN_BIG
48 #define LIBFWPS_ENDIAN_LITTLE			_BYTE_STREAM_ENDIAN_LITTLE
49 
50 /* The property value types
51  */
52 enum LIBFWPS_VALUE_TYPES
53 {
54 	LIBFWPS_VALUE_TYPE_NAMED		= 1,
55 	LIBFWPS_VALUE_TYPE_NUMERIC		= 2
56 };
57 
58 #endif
59 
60 #endif
61 
62