23#ifndef _welcome_copyright_notice_h_
24#define _welcome_copyright_notice_h_
32#define COPYRIGHT_NOTICE_CURRENT_YEAR "2022"
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 \

42 "Oracle and/or its affiliates.\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 "\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")

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" \

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 " \

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" \

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" \

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 " \

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. */\n" \

79 : "/* Copyright (c) " first_year \

80 ", Oracle and/or its affiliates. */\n")

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.\n" \

86 "\n" ORACLE_GPL_LICENSE_TEXT \

87 : "/* Copyright (c) " first_year \

88 ", Oracle and/or its affiliates.\n" \

89 "\n" ORACLE_GPL_LICENSE_TEXT)

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" \

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 " \

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" \

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 " \

107 " Universal FOSS Exception, version 1.0, a copy of which can be found " \

109 " http://oss.oracle.com/licenses/universal-foss-exception.\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" \

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 " \

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.\n" \

125 "\n" ORACLE_GPL_FOSS_LICENSE_TEXT \

126 : "/* Copyright (c) " first_year \

127 ", Oracle and/or its affiliates.\n" \

128 "\n" ORACLE_GPL_FOSS_LICENSE_TEXT)