From 46dde9368f75013b2383c24d4c8a11763ac8e31e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 19 Aug 2020 18:19:00 +0200 Subject: implement i18n lookup logic for #6458 --- src/include/taler_mhd_lib.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/include/taler_mhd_lib.h') diff --git a/src/include/taler_mhd_lib.h b/src/include/taler_mhd_lib.h index 7d281662d..4b34f41df 100644 --- a/src/include/taler_mhd_lib.h +++ b/src/include/taler_mhd_lib.h @@ -96,22 +96,6 @@ MHD_RESULT TALER_MHD_can_compress (struct MHD_Connection *connection); -/** - * Check if @a lang matches the @a language_pattern, and if so with - * which preference. - * See also: https://tools.ietf.org/html/rfc7231#section-5.3.1 - * - * @param language_pattern a language preferences string - * like "fr-CH, fr;q=0.9, en;q=0.8, *;q=0.1" - * @param lang the 2-digit language to match - * @return q-weight given for @a lang in @a language_pattern, 1.0 if no weights are given; - * 0 if @a lang is not in @a language_pattern - */ -double -TALER_MHD_language_matches (const char *language_pattern, - const char *lang); - - /** * Send JSON object as response. * -- cgit v1.2.3