![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 #ifndef __LICENSE_H 0003 #define __LICENSE_H 0004 0005 static inline int license_is_gpl_compatible(const char *license) 0006 { 0007 return (strcmp(license, "GPL") == 0 0008 || strcmp(license, "GPL v2") == 0 0009 || strcmp(license, "GPL and additional rights") == 0 0010 || strcmp(license, "Dual BSD/GPL") == 0 0011 || strcmp(license, "Dual MIT/GPL") == 0 0012 || strcmp(license, "Dual MPL/GPL") == 0); 0013 } 0014 0015 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |