diff options
Diffstat (limited to 'include/contacts_utils.h')
-rw-r--r-- | include/contacts_utils.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/contacts_utils.h b/include/contacts_utils.h index 8ba7609..9757b20 100644 --- a/include/contacts_utils.h +++ b/include/contacts_utils.h @@ -45,29 +45,6 @@ extern "C" API int contacts_utils_get_index_characters(char **index_string);
/**
- * This function compares compares two strings which is not normalized.
- * If search_str is included in str, this function return #sCONTACTS_ERROR_NONE. \n
- * The behavior of this function cannot fix because of localization.
- * So, The behavior can be different from each other.
- *
- * @param[in] haystack Base string.
- * @param[in] needle searching string
- * @param[out] len substring length
- * @return a position of the beginning of the substring, Negative value(#cts_error) on error or difference.
- * @par example
- * @code
- ret = contacts_strstr(str1, str2, &len);
- if(CONTACTS_ERROR_NONE == ret) {
- snprintf(first, ret+1, "%s", item_data->display);
- snprintf(middle, len+1, "%s", item_data->display + ret);
- printf("%s -> %s, %s, %s", item_data->display, first, middle, item_data->display + ret + len);
- } else
- printf("str1 doesn't has str2");
- * @endcode
- */
-API int contacts_utils_strstr(const char *haystack, const char *needle, int *len);
-
-/**
* @}
*/
|