24#ifndef _welcome_copyright_notice_h_
25#define _welcome_copyright_notice_h_
33#define COPYRIGHT_NOTICE_CURRENT_YEAR "2024"
39#define ORACLE_WELCOME_COPYRIGHT_NOTICE(first_year) \
40 (strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
41 ? "Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
43 "Oracle and/or its affiliates.\n\nOracle is a " \
44 "registered trademark of Oracle Corporation and/or its\naffiliates. " \
45 "Other names may be trademarks of their respective\nowners.\n" \
46 : "Copyright (c) " first_year \
47 ", Oracle and/or its affiliates." \
48 "\n\nOracle is a registered trademark of " \
49 "Oracle Corporation and/or its\naffiliates. Other names may be " \
50 "trademarks of their respective\nowners.\n")
52#define ORACLE_GPL_LICENSE_TEXT \
53 " This program is free software; you can redistribute it and/or modify\n" \
54 " it under the terms of the GNU General Public License, version 2.0,\n" \
55 " as published by the Free Software Foundation.\n" \
57 " This program is designed to work with certain software (including\n" \
58 " but not limited to OpenSSL) that is licensed under separate terms,\n" \
59 " as designated in a particular file or component or in included " \
61 " documentation. The authors of MySQL hereby grant you an additional\n" \
62 " permission to link the program and your derivative works with the\n" \
63 " separately licensed software that they have either included with\n" \
64 " the program or referenced in the documentation.\n" \
66 " This program is distributed in the hope that it will be useful,\n" \
67 " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" \
68 " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" \
69 " GNU General Public License, version 2.0, for more details.\n" \
71 " You should have received a copy of the GNU General Public License\n" \
72 " along with this program; if not, write to the Free Software\n" \
73 " Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 " \
76#define ORACLE_COPYRIGHT_NOTICE(first_year) \
77 (strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
78 ? "/* Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
79 ", Oracle and/or its affiliates. */\n" \
81 : "/* Copyright (c) " first_year \
82 ", Oracle and/or its affiliates. */\n")
84#define ORACLE_GPL_COPYRIGHT_NOTICE(first_year) \
85 (strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
86 ? "/* Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
87 ", Oracle and/or its affiliates.\n" \
88 "\n" ORACLE_GPL_LICENSE_TEXT \
89 : "/* Copyright (c) " first_year \
90 ", Oracle and/or its affiliates.\n" \
91 "\n" ORACLE_GPL_LICENSE_TEXT)
93#define ORACLE_GPL_FOSS_LICENSE_TEXT \
94 " This program is free software; you can redistribute it and/or modify\n" \
95 " it under the terms of the GNU General Public License, version 2.0,\n" \
96 " as published by the Free Software Foundation.\n" \
98 " This program is designed to work with certain software (including\n" \
99 " but not limited to OpenSSL) that is licensed under separate terms,\n" \
100 " as designated in a particular file or component or in included " \
102 " documentation. The authors of MySQL hereby grant you an additional\n" \
103 " permission to link the program and your derivative works with the\n" \
104 " separately licensed software that they have either included with\n" \
105 " the program or referenced in the documentation.\n" \
107 " Without limiting anything contained in the foregoing, this file,\n" \
108 " which is part of C Driver for MySQL (Connector/C), is also subject to " \
110 " Universal FOSS Exception, version 1.0, a copy of which can be found " \
112 " http://oss.oracle.com/licenses/universal-foss-exception.\n" \
114 " This program is distributed in the hope that it will be useful,\n" \
115 " but WITHOUT ANY WARRANTY; without even the implied warranty of\n" \
116 " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" \
117 " GNU General Public License, version 2.0, for more details.\n" \
119 " You should have received a copy of the GNU General Public License\n" \
120 " along with this program; if not, write to the Free Software\n" \
121 " Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 " \
124#define ORACLE_GPL_FOSS_COPYRIGHT_NOTICE(first_year) \
125 (strcmp(first_year, COPYRIGHT_NOTICE_CURRENT_YEAR) \
126 ? "/* Copyright (c) " first_year ", " COPYRIGHT_NOTICE_CURRENT_YEAR \
127 ", Oracle and/or its affiliates.\n" \
128 "\n" ORACLE_GPL_FOSS_LICENSE_TEXT \
129 : "/* Copyright (c) " first_year \
130 ", Oracle and/or its affiliates.\n" \
131 "\n" ORACLE_GPL_FOSS_LICENSE_TEXT)