29 lines
603 B
C
29 lines
603 B
C
#ifndef INCLUDED_STR_UTIL_H
|
|
#define INCLUDED_STR_UTIL_H
|
|
|
|
#ifndef INCLUDED_OS_TYPES_H
|
|
#include <os_types.h>
|
|
#endif /*INCLUDED_OS_TYPES_H*/
|
|
|
|
/* ------------------------------------------------------------------------------------------------------------------ */
|
|
/* */
|
|
|
|
/**
|
|
*
|
|
* @param haystack
|
|
* @param needle
|
|
* @return
|
|
*/
|
|
const char* str_util_strstr(const char* haystack, const char* needle);
|
|
|
|
/**
|
|
*
|
|
* @param haystack
|
|
* @param needle
|
|
* @param needle_len
|
|
* @return
|
|
*/
|
|
const char* str_util_strnstr(const char* haystack, const char* needle, os_size_t needle_len);
|
|
|
|
#endif /*INCLUDED_STR_UTIL_H*/
|