Licence declarations

For reasons that are partly historical, various different files within the gPXE codebase have differing licences. More...


Defines

#define FILE_LICENCE_PUBLIC_DOMAIN   PROVIDE_SYMBOL ( __licence_public_domain )
 Declare a file as being in the public domain.
#define FILE_LICENCE_GPL2_OR_LATER   PROVIDE_SYMBOL ( __licence_gpl2_or_later )
 Declare a file as being under version 2 (or later) of the GNU GPL.
#define FILE_LICENCE_GPL2_ONLY   PROVIDE_SYMBOL ( __licence_gpl2_only )
 Declare a file as being under version 2 of the GNU GPL.
#define FILE_LICENCE_GPL_ANY   PROVIDE_SYMBOL ( __licence_gpl_any )
 Declare a file as being under any version of the GNU GPL.
#define FILE_LICENCE_BSD3   PROVIDE_SYMBOL ( __licence_bsd3 )
 Declare a file as being under the three-clause BSD licence.
#define FILE_LICENCE_BSD2   PROVIDE_SYMBOL ( __licence_bsd2 )
 Declare a file as being under the two-clause BSD licence.
#define FILE_LICENCE_MIT   PROVIDE_SYMBOL ( __licence_mit )
 Declare a file as being under the one-clause MIT-style licence.
#define FILE_LICENCE(_licence)   FILE_LICENCE_ ## _licence
 Declare a particular licence as applying to a file.


Detailed Description

For reasons that are partly historical, various different files within the gPXE codebase have differing licences.

Define Documentation

#define FILE_LICENCE_PUBLIC_DOMAIN   PROVIDE_SYMBOL ( __licence_public_domain )

Declare a file as being in the public domain.

This licence declaration is applicable when a file states itself to be in the public domain.

Definition at line 551 of file compiler.h.

#define FILE_LICENCE_GPL2_OR_LATER   PROVIDE_SYMBOL ( __licence_gpl2_or_later )

Declare a file as being under version 2 (or later) of the GNU GPL.

This licence declaration is applicable when a file states itself to be licensed under the GNU GPL; "either version 2 of the License, or (at your option) any later version".

Definition at line 560 of file compiler.h.

#define FILE_LICENCE_GPL2_ONLY   PROVIDE_SYMBOL ( __licence_gpl2_only )

Declare a file as being under version 2 of the GNU GPL.

This licence declaration is applicable when a file states itself to be licensed under version 2 of the GPL, and does not include the "or, at your option, any later version" clause.

Definition at line 569 of file compiler.h.

#define FILE_LICENCE_GPL_ANY   PROVIDE_SYMBOL ( __licence_gpl_any )

Declare a file as being under any version of the GNU GPL.

This licence declaration is applicable when a file states itself to be licensed under the GPL, but does not specify a version.

According to section 9 of the GPLv2, "If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation".

Definition at line 581 of file compiler.h.

#define FILE_LICENCE_BSD3   PROVIDE_SYMBOL ( __licence_bsd3 )

Declare a file as being under the three-clause BSD licence.

This licence declaration is applicable when a file states itself to be licensed under terms allowing redistribution in source and binary forms (with or without modification) provided that:

redistributions of source code retain the copyright notice, list of conditions and any attached disclaimers

redistributions in binary form reproduce the copyright notice, list of conditions and any attached disclaimers in the documentation and/or other materials provided with the distribution

the name of the author is not used to endorse or promote products derived from the software without specific prior written permission

It is not necessary for the file to explicitly state that it is under a "BSD" licence; only that the licensing terms be functionally equivalent to the standard three-clause BSD licence.

Definition at line 606 of file compiler.h.

#define FILE_LICENCE_BSD2   PROVIDE_SYMBOL ( __licence_bsd2 )

Declare a file as being under the two-clause BSD licence.

This licence declaration is applicable when a file states itself to be licensed under terms allowing redistribution in source and binary forms (with or without modification) provided that:

redistributions of source code retain the copyright notice, list of conditions and any attached disclaimers

redistributions in binary form reproduce the copyright notice, list of conditions and any attached disclaimers in the documentation and/or other materials provided with the distribution

It is not necessary for the file to explicitly state that it is under a "BSD" licence; only that the licensing terms be functionally equivalent to the standard two-clause BSD licence.

Definition at line 627 of file compiler.h.

#define FILE_LICENCE_MIT   PROVIDE_SYMBOL ( __licence_mit )

Declare a file as being under the one-clause MIT-style licence.

This licence declaration is applicable when a file states itself to be licensed under terms allowing redistribution for any purpose with or without fee, provided that the copyright notice and permission notice appear in all copies.

Definition at line 637 of file compiler.h.

#define FILE_LICENCE ( _licence   )     FILE_LICENCE_ ## _licence

Declare a particular licence as applying to a file.

Definition at line 641 of file compiler.h.


Generated on Tue Apr 6 20:01:58 2010 for gPXE by  doxygen 1.5.7.1