summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-05-17 15:09:30 +0300
committerVicent Marti <tanoku@gmail.com>2011-05-17 15:11:19 +0300
commit0da2c70067135ffb095f951b30cb085db1aeccce (patch)
treead3390ce18ea85d7300e8474268a0ac028f2187f /src/util.h
parent128d37316b7499c70c2d8b44635253541647f583 (diff)
downloadlibgit2-0da2c70067135ffb095f951b30cb085db1aeccce.tar.gz
utils: Move git__str[n]tolower
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index ff6e67f8d..e5a2ebe5f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -142,6 +142,9 @@ GIT_INLINE(int) git__is_sizet(git_off_t p)
extern char *git__strtok(char *output, char *src, char *delimit);
extern char *git__strtok_keep(char *output, char *src, char *delimit);
+extern void git__strntolower(char *str, int len);
+extern void git__strtolower(char *str);
+
#define STRLEN(str) (sizeof(str) - 1)
#define GIT_OID_LINE_LENGTH(header) (STRLEN(header) + 1 + GIT_OID_HEXSZ + 1)