mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 15:16:02 +00:00
Add comment about possible definitions for non-standard functions
This commit is contained in:
parent
af04864094
commit
40846260b5
|
@ -138,16 +138,21 @@ u32_t lwip_ntohl(u32_t x);
|
||||||
* your platform to save some code bytes if you use these functions
|
* your platform to save some code bytes if you use these functions
|
||||||
* in your application, too.
|
* in your application, too.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lwip_itoa
|
#ifndef lwip_itoa
|
||||||
|
/* This can be #defined to itoa() or snprintf(result, bufsize, "%d", number) depending on your platform */
|
||||||
void lwip_itoa(char* result, size_t bufsize, int number);
|
void lwip_itoa(char* result, size_t bufsize, int number);
|
||||||
#endif
|
#endif
|
||||||
#ifndef lwip_strnicmp
|
#ifndef lwip_strnicmp
|
||||||
|
/* This can be #defined to strnicmp() or strncasecmp() depending on your platform */
|
||||||
int lwip_strnicmp(const char* str1, const char* str2, size_t len);
|
int lwip_strnicmp(const char* str1, const char* str2, size_t len);
|
||||||
#endif
|
#endif
|
||||||
#ifndef lwip_stricmp
|
#ifndef lwip_stricmp
|
||||||
|
/* This can be #defined to stricmp() or strcasecmp() depending on your platform */
|
||||||
int lwip_stricmp(const char* str1, const char* str2);
|
int lwip_stricmp(const char* str1, const char* str2);
|
||||||
#endif
|
#endif
|
||||||
#ifndef lwip_strnstr
|
#ifndef lwip_strnstr
|
||||||
|
/* This can be #defined to strnstr() depending on your platform */
|
||||||
char* lwip_strnstr(const char* buffer, const char* token, size_t n);
|
char* lwip_strnstr(const char* buffer, const char* token, size_t n);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user