Go to the documentation of this file. 41 #define CH_FEATURES_BASIC 0 42 #define CH_FEATURES_INTERMEDIATE 1 43 #define CH_FEATURES_FULL 2 49 #define CH_DEPLOY_UNLIMITED -1 50 #define CH_DEPLOY_NONE 0 57 #define CH_LICENSE_GPL 0 58 #define CH_LICENSE_GPL_EXCEPTION 1 59 #define CH_LICENSE_COMMERCIAL_FREE 2 60 #define CH_LICENSE_COMMERCIAL_DEV_1000 3 61 #define CH_LICENSE_COMMERCIAL_DEV_5000 4 62 #define CH_LICENSE_COMMERCIAL_FULL 5 63 #define CH_LICENSE_COMMERCIAL_RUNTIME 6 64 #define CH_LICENSE_PARTNER 7 68 #if CH_LICENSE == CH_LICENSE_PARTNER 69 #include "chpartner.h" 71 #if CH_LICENSE == CH_LICENSE_COMMERCIAL_RUNTIME 72 #include "chruntime.h" 83 #if (CH_LICENSE == CH_LICENSE_GPL) || defined(__DOXYGEN__) 89 #define CH_LICENSE_TYPE_STRING "GNU General Public License 3 (GPL3)" 95 #define CH_LICENSE_ID_STRING "N/A" 101 #define CH_LICENSE_ID_CODE "N/A" 107 #define CH_LICENSE_MODIFIABLE_CODE TRUE 112 #define CH_LICENSE_FEATURES CH_FEATURES_FULL 119 #define CH_LICENSE_MAX_DEPLOY CH_DEPLOY_UNLIMITED 121 #elif CH_LICENSE == CH_LICENSE_GPL_EXCEPTION 122 #define CH_LICENSE_TYPE_STRING "GNU General Public License 3 (GPL3) + Exception" 123 #define CH_LICENSE_ID_STRING "N/A" 124 #define CH_LICENSE_ID_CODE "N/A" 125 #define CH_LICENSE_MODIFIABLE_CODE FALSE 126 #define CH_LICENSE_FEATURES CH_FEATURES_BASIC 127 #define CH_LICENSE_MAX_DEPLOY CH_DEPLOY_UNLIMITED 129 #elif CH_LICENSE == CH_LICENSE_COMMERCIAL_FREE 130 #define CH_LICENSE_TYPE_STRING "Zero Cost Registered License for 500 Cores" 131 #define CH_LICENSE_ID_STRING "N/A" 132 #define CH_LICENSE_ID_CODE "2017-0000" 133 #define CH_LICENSE_MODIFIABLE_CODE FALSE 134 #define CH_LICENSE_FEATURES CH_FEATURES_INTERMEDIATE 135 #define CH_LICENSE_MAX_DEPLOY 500 137 #elif CH_LICENSE == CH_LICENSE_COMMERCIAL_DEV_1000 138 #define CH_LICENSE_TYPE_STRING "Developer Commercial License for 1000 Cores" 139 #define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING 140 #define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE 141 #define CH_LICENSE_MODIFIABLE_CODE TRUE 142 #define CH_LICENSE_FEATURES CH_FEATURES_FULL 143 #define CH_LICENSE_DEPLOY_LIMIT 1000 145 #elif CH_LICENSE == CH_LICENSE_COMMERCIAL_DEV_5000 146 #define CH_LICENSE_TYPE_STRING "Developer Commercial License for 5000 Cores" 147 #define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING 148 #define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE 149 #define CH_LICENSE_MODIFIABLE_CODE TRUE 150 #define CH_LICENSE_FEATURES CH_FEATURES_FULL 151 #define CH_LICENSE_DEPLOY_LIMIT 5000 153 #elif CH_LICENSE == CH_LICENSE_COMMERCIAL_FULL 154 #define CH_LICENSE_TYPE_STRING "Full Commercial License for Unlimited Deployment" 155 #define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING 156 #define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE 157 #define CH_LICENSE_MODIFIABLE_CODE TRUE 158 #define CH_LICENSE_FEATURES CH_FEATURES_FULL 159 #define CH_LICENSE_MAX_DEPLOY CH_DEPLOY_UNLIMITED 161 #elif CH_LICENSE == CH_LICENSE_COMMERCIAL_RUNTIME 162 #define CH_LICENSE_TYPE_STRING "Runtime Commercial License" 163 #define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING 164 #define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE 165 #define CH_LICENSE_MODIFIABLE_CODE TRUE 166 #define CH_LICENSE_FEATURES CH_FEATURES_FULL 167 #define CH_LICENSE_MAX_DEPLOY CH_RUNTIME_MAX_DEPLOY 169 #elif CH_LICENSE == CH_LICENSE_PARTNER 170 #define CH_LICENSE_TYPE_STRING "Partners Special Commercial License" 171 #define CH_LICENSE_ID_STRING CH_CUSTOMER_ID_STRING 172 #define CH_LICENSE_ID_CODE CH_CUSTOMER_ID_CODE 173 #define CH_LICENSE_MODIFIABLE_CODE CH_PARTNER_MODIFIABLE_CODE 174 #define CH_LICENSE_FEATURES CH_PARTNER_FEATURES 175 #define CH_LICENSE_MAX_DEPLOY CH_PARTNER_MAX_DEPLOY 178 #error "invalid licensing option"