Lines Matching defs:scheme_name
191 idn_normalizer_add(idn_normalizer_t ctx, const char *scheme_name) {
196 assert(ctx != NULL && scheme_name != NULL);
198 TRACE(("idn_normalizer_add(scheme_name=%s)\n", scheme_name));
202 if (idn__strhash_get(scheme_hash, scheme_name, &v) != idn_success) {
204 scheme_name));
346 idn_normalizer_register(const char *scheme_name, idn_normalizer_proc_t proc) {
350 assert(scheme_name != NULL && proc != NULL);
352 TRACE(("idn_normalizer_register(scheme_name=%s)\n", scheme_name));
356 scheme = malloc(sizeof(*scheme) + strlen(scheme_name) + 1);
362 (void)strcpy(scheme->name, scheme_name);
365 r = idn__strhash_put(scheme_hash, scheme_name, scheme);