FOSSology
4.5.1
Open Source License Compliance by Open Source Software
identity.hpp
1
/*
2
SPDX-FileCopyrightText: © 2014, 2018,2022, Siemens AG
3
Author: Daniele Fognini, anupam.ghosh@siemens.com
4
5
SPDX-License-Identifier: GPL-2.0-only
6
*/
7
30
#ifndef IDENTITY_HPP
31
#define IDENTITY_HPP
32
33
#ifndef IDENTITY_KW
34
#ifndef IDENTITY_ECC
35
#ifndef IDENTITY_IPRA
36
#ifndef IDENTITY_COPYRIGHT
37
#define IDENTITY_COPYRIGHT
38
#endif
39
#endif
40
#endif
41
#endif
42
43
#ifndef IDENTITY_KW
44
#ifndef IDENTITY_ECC
45
#ifndef IDENTITY_IPRA
46
#ifdef IDENTITY_COPYRIGHT
47
#define IDENTITY "copyright"
48
#define MAX_TYPES 4
49
#else
50
#error
51
#endif
52
#else
53
#ifndef IDENTITY_COPYRIGHT
54
#define IDENTITY "ipra"
55
#define MAX_TYPES 1
56
#else
57
#error
58
#endif
59
#endif
60
#else
61
#ifndef IDENTITY_IPRA
62
#ifndef IDENTITY_COPYRIGHT
63
#define IDENTITY "ecc"
64
#define MAX_TYPES 1
65
#else
66
#error
67
#endif
68
#else
69
#error
70
#endif
71
#endif
72
#else
73
#ifndef IDENTITY_ECC
74
#ifndef IDENTITY_IPRA
75
#ifndef IDENTITY_COPYRIGHT
76
#define IDENTITY "keyword"
77
#define MAX_TYPES 1
78
#else
79
#error
80
#endif
81
#else
82
#error
83
#endif
84
#else
85
#error
86
#endif
87
#endif
88
89
#define ALL_TYPES ((1<<MAX_TYPES) -1)
90
91
#endif
// IDENTITY_HPP
src
copyright
agent
identity.hpp
Generated on Wed Mar 26 2025 09:10:52 for FOSSology by
1.9.1