MySQL
8.0.17
Source Code Documentation
welcome_copyright_notice.h
Go to the documentation of this file.
1
/* Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
2
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License, version 2.0,
5
as published by the Free Software Foundation.
6
7
This program is also distributed with certain software (including
8
but not limited to OpenSSL) that is licensed under separate terms,
9
as designated in a particular file or component or in included license
10
documentation. The authors of MySQL hereby grant you an additional
11
permission to link the program and your derivative works with the
12
separately licensed software that they have included with MySQL.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License, version 2.0, for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22
23
#ifndef _welcome_copyright_notice_h_
24
#define _welcome_copyright_notice_h_
25
26
/**
27
@file include/welcome_copyright_notice.h
28
*/
29
30
#include <
string.h
>
31
32
#define COPYRIGHT_NOTICE_CURRENT_YEAR "2019"
33
34
/*
35
This define specifies copyright notice which is displayed by every MySQL
36
program on start, or on help screen.
37
*/
38
#define ORACLE_WELCOME_COPYRIGHT_NOTICE(first_year) \
39
(strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
40
? "Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
41
", " \
42
"Oracle and/or its affiliates. All rights reserved.\n\nOracle is a " \
43
"registered trademark of Oracle Corporation and/or its\naffiliates. " \
44
"Other names may be trademarks of their respective\nowners.\n" \
45
: "Copyright (c) " first_year \
46
", Oracle and/or its affiliates. " \
47
"All rights reserved.\n\nOracle is a registered trademark of " \
48
"Oracle Corporation and/or its\naffiliates. Other names may be " \
49
"trademarks of their respective\nowners.\n")
50
51
#define ORACLE_GPL_LICENSE_TEXT \
52
" This program is free software; you can redistribute it and/or modify\n" \
53
" it under the terms of the GNU General Public License, version 2.0,\n" \
54
" as published by the Free Software Foundation.\n" \
55
"\n" \
56
" This program is also distributed with certain software (including\n" \
57
" but not limited to OpenSSL) that is licensed under separate terms,\n" \
58
" as designated in a particular file or component or in included " \
59
"license\n" \
60
" documentation. The authors of MySQL hereby grant you an additional\n" \
61
" permission to link the program and your derivative works with the\n" \
62
" separately licensed software that they have included with MySQL.\n" \
63
"\n" \
64
" This program is distributed in the hope that it will be useful,\n" \
65
" but WITHOUT ANY WARRANTY; without even the implied warranty of\n" \
66
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" \
67
" GNU General Public License, version 2.0, for more details.\n" \
68
"\n" \
69
" You should have received a copy of the GNU General Public License\n" \
70
" along with this program; if not, write to the Free Software\n" \
71
" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 " \
72
"USA */\n"
73
74
#define ORACLE_COPYRIGHT_NOTICE(first_year) \
75
(strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
76
? "
/* Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
77
", Oracle and/or its affiliates. All rights reserved. */
\n" \
78
"\n" \
79
: "
/* Copyright (c) " first_year \
80
", Oracle and/or its affiliates. All rights reserved. */
\n")
81
82
#define ORACLE_GPL_COPYRIGHT_NOTICE(first_year) \
83
(strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
84
? "
/* Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
85
", Oracle and/or its affiliates. All rights reserved.\n" \
86
"\n" ORACLE_GPL_LICENSE_TEXT \
87
: "/* Copyright (c) " first_year \
88
", Oracle and/or its affiliates. All rights reserved.\n" \
89
"\n" ORACLE_GPL_LICENSE_TEXT)
90
91
#define ORACLE_GPL_FOSS_LICENSE_TEXT \
92
" This program is free software; you can redistribute it and/or modify\n" \
93
" it under the terms of the GNU General Public License, version 2.0,\n" \
94
" as published by the Free Software Foundation.\n" \
95
"\n" \
96
" This program is also distributed with certain software (including\n" \
97
" but not limited to OpenSSL) that is licensed under separate terms,\n" \
98
" as designated in a particular file or component or in included " \
99
"license\n" \
100
" documentation. The authors of MySQL hereby grant you an additional\n" \
101
" permission to link the program and your derivative works with the\n" \
102
" separately licensed software that they have included with MySQL.\n" \
103
"\n" \
104
" Without limiting anything contained in the foregoing, this file,\n" \
105
" which is part of C Driver for MySQL (Connector/C), is also subject to " \
106
"the\n" \
107
" Universal FOSS Exception, version 1.0, a copy of which can be found " \
108
"at\n" \
109
" http://oss.oracle.com/licenses/universal-foss-exception.\n" \
110
"\n" \
111
" This program is distributed in the hope that it will be useful,\n" \
112
" but WITHOUT ANY WARRANTY; without even the implied warranty of\n" \
113
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" \
114
" GNU General Public License, version 2.0, for more details.\n" \
115
"\n" \
116
" You should have received a copy of the GNU General Public License\n" \
117
" along with this program; if not, write to the Free Software\n" \
118
" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 " \
119
"USA */
\n"
120
121
#define ORACLE_GPL_FOSS_COPYRIGHT_NOTICE(first_year) \
122
(strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
123
? "
/* Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
124
", Oracle and/or its affiliates. All rights reserved.\n" \
125
"\n" ORACLE_GPL_FOSS_LICENSE_TEXT \
126
: "/* Copyright (c) " first_year \
127
", Oracle and/or its affiliates. All rights reserved.\n" \
128
"\n" ORACLE_GPL_FOSS_LICENSE_TEXT)
129
130
#endif /* _welcome_copyright_notice_h_ */
string.h
include
welcome_copyright_notice.h
Generated by
1.8.15