diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-06 14:36:52 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-06-06 15:55:22 +0300 |
commit | 7eef6dd3e45975012afcc03ba30dfb951984910f (patch) | |
tree | 31769078d7ffa47ebf8def93ff7e0e33c1f6bbe6 /src/microhttpd/mhd_str.h | |
parent | d9c37e01a930966bcc714cd0e5d78d28be8662b0 (diff) | |
download | libmicrohttpd-7eef6dd3e45975012afcc03ba30dfb951984910f.tar.gz libmicrohttpd-7eef6dd3e45975012afcc03ba30dfb951984910f.zip |
Excluded build on the new string functions when they are unused
Diffstat (limited to 'src/microhttpd/mhd_str.h')
-rw-r--r-- | src/microhttpd/mhd_str.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h index ecad5422..a114d9a3 100644 --- a/src/microhttpd/mhd_str.h +++ b/src/microhttpd/mhd_str.h | |||
@@ -475,6 +475,7 @@ MHD_bin_to_hex (const void *bin, | |||
475 | size_t size, | 475 | size_t size, |
476 | char *hex); | 476 | char *hex); |
477 | 477 | ||
478 | #ifdef DAUTH_SUPPORT | ||
478 | /** | 479 | /** |
479 | * Check two strings for equality, "unquoting" the first string from quoted | 480 | * Check two strings for equality, "unquoting" the first string from quoted |
480 | * form as specified by RFC7230#section-3.2.6 and RFC7694#quoted.strings. | 481 | * form as specified by RFC7230#section-3.2.6 and RFC7694#quoted.strings. |
@@ -520,4 +521,6 @@ MHD_str_unquote (const char *quoted, | |||
520 | size_t quoted_len, | 521 | size_t quoted_len, |
521 | char *result); | 522 | char *result); |
522 | 523 | ||
524 | #endif /* DAUTH_SUPPORT */ | ||
525 | |||
523 | #endif /* MHD_STR_H */ | 526 | #endif /* MHD_STR_H */ |