aboutsummaryrefslogtreecommitdiffstats
path: root/String.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:33 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:33 +0200
commitf75ab6d2c11e8a8e18191b087564aedebbeb96c5 (patch)
tree2a046e11678e798f3f9c7f7af4f9ac205c8d2731 /String.h
parent2004bbc3ef28ada3acca05f5d5fa9108121a6784 (diff)
downloaddebian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.tar.gz
debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.tar.bz2
debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.zip
Imported Upstream version 1.0.3upstream/1.0.3
Diffstat (limited to 'String.h')
-rw-r--r--String.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/String.h b/String.h
index 0662aa1..cb7f1ac 100644
--- a/String.h
+++ b/String.h
@@ -10,6 +10,7 @@ in the source distribution for its full text.
*/
#define String_startsWith(s, match) (strstr((s), (match)) == (s))
+#define String_contains_i(s1, s2) (strcasestr(s1, s2) != NULL)
char* String_cat(const char* s1, const char* s2);
@@ -21,8 +22,6 @@ char** String_split(const char* s, char sep, int* n);
void String_freeArray(char** s);
-int String_contains_i(const char* s, const char* match);
-
char* String_getToken(const char* line, const unsigned short int numMatch);
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy