Lines Matching refs:prefix
65 char *prefix;
166 r = idn__strhash_put(scheme_hash, (*scheme)->prefix, *scheme);
383 ctx->schemes[i].prefix));
406 idn_checker_register(const char *prefix,
414 assert(prefix != NULL && create != NULL && destroy != NULL &&
417 TRACE(("idn_checker_register(prefix=%s)\n", prefix));
425 scheme->prefix = (char *) malloc(strlen(prefix) + 1);
426 if (scheme->prefix == NULL) {
431 strcpy(scheme->prefix, prefix);
437 r = idn__strhash_put(scheme_hash, prefix, scheme);
441 free(scheme->prefix);