]> granicus.if.org Git - transmission/commitdiff
Add missing declaration for `tr_strcasestr`
authorMike Gelfand <mikedld@mikedld.com>
Sun, 23 Jun 2019 09:07:33 +0000 (12:07 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Sun, 23 Jun 2019 09:07:33 +0000 (12:07 +0300)
libtransmission/utils.h

index 33010efbbc5e6a50dfc51b61f81db95b26920444..9dacc246b45e621ac55b482ed5b0e6efd5ea6fff 100644 (file)
@@ -243,6 +243,9 @@ bool tr_str_has_suffix(char const* str, char const* suffix);
 /** @brief Portability wrapper for memmem() that uses the system implementation if available */
 char const* tr_memmem(char const* haystack, size_t haystack_len, char const* needle, size_t needle_len);
 
+/** @brief Portability wrapper for strcasestr() that uses the system implementation if available */
+char const* tr_strcasestr(char const* haystack, char const* needle);
+
 /** @brief Portability wrapper for strsep() that uses the system implementation if available */
 char* tr_strsep(char** str, char const* delim);