summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-12-22 12:11:47 +0100
committerMichael Schroeder <mls@suse.de>2011-12-22 12:11:47 +0100
commit87c5e01c975fee7cc5b4b5c180bbad9bfb1f3dbd (patch)
tree7bd4d4da7aecfafbb7dbb59c487dcd31fa123e06 /src/util.h
parent3e359078b72be70e97193c5b4244a499f2152741 (diff)
downloadlibsolv-87c5e01c975fee7cc5b4b5c180bbad9bfb1f3dbd.tar.gz
libsolv-87c5e01c975fee7cc5b4b5c180bbad9bfb1f3dbd.tar.bz2
libsolv-87c5e01c975fee7cc5b4b5c180bbad9bfb1f3dbd.zip
- add solv_strdup(), rename repo_freeallrepos() to pool_freeallrepos()
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 41c82b9..fcb92c2 100644
--- a/src/util.h
+++ b/src/util.h
@@ -26,6 +26,7 @@ extern void *solv_calloc(size_t, size_t);
extern void *solv_realloc(void *, size_t);
extern void *solv_realloc2(void *, size_t, size_t);
extern void *solv_free(void *);
+extern char *solv_strdup(const char *);
extern void solv_oom(size_t, size_t);
extern unsigned int solv_timems(unsigned int subtract);
extern void solv_sort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *, void *), void *compard);