summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-03 18:55:04 -0400
committerDave Reisner <dreisner@archlinux.org>2011-07-05 17:18:23 -0400
commit6cce517f1a78df885a1574252b3db9886185159d (patch)
tree83aade5d80b9399e2419818b04b893b9d5607900 /lib/libalpm/util.h
parentdfc532668d4a4182ce196a895fdd5b017b505c6f (diff)
downloadpacman-6cce517f1a78df885a1574252b3db9886185159d.tar.xz
lib/rawstr: borrow raw string functions from curl
We'll need these functions to do locale agnostic and case insensitive string comparisons. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r--lib/libalpm/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index fd97824a..450dac9b 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -113,6 +113,8 @@ int _alpm_splitname(const char *target, char **name, char **version,
unsigned long *name_hash);
unsigned long _alpm_hash_sdbm(const char *str);
long _alpm_parsedate(const char *line);
+int _alpm_raw_cmp(const char *first, const char *second);
+int _alpm_raw_ncmp(const char *first, const char *second, size_t max);
#ifndef HAVE_STRSEP
char *strsep(char **, const char *);