mirror of https://github.com/sfeakes/AqualinkD.git
24 lines
1023 B
C
24 lines
1023 B
C
#ifndef RS_MSG_UTILS_H_
|
|
#define RS_MSG_UTILS_H_
|
|
|
|
|
|
bool rsm_get_revision(char *dest, const char *src, int src_len);
|
|
char *rsm_charafterstr(const char *haystack, const char *needle, int length);
|
|
|
|
char *rsm_strstr(const char *haystack, const char *needle);
|
|
//char *rsm_strnstr(const char *haystack, const char *needle, int length);
|
|
char *rsm_strnstr(const char *haystack, const char *needle, size_t slen);
|
|
char *rsm_strncasestr(const char *haystack, const char *needle, size_t length);
|
|
char *rsm_lastindexof(const char *haystack, const char *needle, size_t length);
|
|
|
|
int rsm_strncpy(char *dest, const unsigned char *src, int dest_len, int src_len);
|
|
int rsm_strcmp(const char *s1, const char *s2);
|
|
int rsm_strncmp(const char *haystack, const char *needle, int length);
|
|
int rsm_strncpy_nul2sp(char *dest, const unsigned char *src, int dest_len, int src_len);
|
|
int rsm_atoi(const char* str);
|
|
float rsm_atof(const char* str);
|
|
char *rsm_strncpycut(char *dest, const char *src, int dest_len, int src_len);
|
|
|
|
|
|
#endif //RS_MSG_UTILS_H_
|