Searched refs:license_hash (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/external/bsd/pkg_install/dist/lib/
H A Dlicense.c116 static char **license_hash[HASH_SIZE]; variable
143 if (license_hash[slot] == NULL) {
144 license_hash[slot] = calloc(sizeof(char *), 2);
145 license_hash[slot][0] = new_license;
147 for (i = 0; license_hash[slot][i]; ++i) {
148 if (!memcmp(license_hash[slot][i], license, len) &&
149 license_hash[slot][i][len] == '\0') {
159 license_hash[slot] = realloc(license_hash[slot],
161 license_hash[slo
[all...]

Completed in 436 milliseconds