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

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

Completed in 66 milliseconds