aboutsummaryrefslogtreecommitdiffstats
path: root/String.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:00:27 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:00:27 +0200
commit283707c5e5bc436b78ea23bf5500cb6b16a01148 (patch)
treeb977131bbbb4c3bd8ade370aab2e4fc913440c04 /String.h
parentbea9b4798717b6f4e31085506dfc179eeb8dc17c (diff)
downloaddebian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.gz
debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.bz2
debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.zip
Imported Upstream version 0.9upstream/0.9
Diffstat (limited to 'String.h')
-rw-r--r--String.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/String.h b/String.h
index 82c958f..907c50e 100644
--- a/String.h
+++ b/String.h
@@ -4,7 +4,7 @@
#define HEADER_String
/*
htop
-(C) 2004-2006 Hisham H. Muhammad
+(C) 2004-2010 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
@@ -19,19 +19,19 @@ in the source distribution for its full text.
#define String_startsWith(s, match) (strstr((s), (match)) == (s))
-extern char* String_copy(char* orig);
+extern char* String_copy(const char* orig);
-char* String_cat(char* s1, char* s2);
+char* String_cat(const char* s1, const char* s2);
-char* String_trim(char* in);
+char* String_trim(const char* in);
extern int String_eq(const char* s1, const char* s2);
-char** String_split(char* s, char sep);
+char** String_split(const char* s, char sep);
void String_freeArray(char** s);
-int String_contains_i(char* s, char* match);
+int String_contains_i(const char* s, const char* match);
char* String_getToken(const char* line, const unsigned short int numMatch);

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