summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-05-02 13:08:09 +0200
committerMichael Schroeder <mls@suse.de>2011-05-02 13:08:09 +0200
commit31d9370991ef97ab188dc90bfb9aef9f207f735e (patch)
tree3cfe4af099eafeec70f8d0dca32240eec2e31bd9 /src/pool.h
parentac09948ee86391a410bdab18b87609765409cb01 (diff)
downloadlibsolv-31d9370991ef97ab188dc90bfb9aef9f207f735e.tar.gz
libsolv-31d9370991ef97ab188dc90bfb9aef9f207f735e.tar.bz2
libsolv-31d9370991ef97ab188dc90bfb9aef9f207f735e.zip
- clean up function names for shared library
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/pool.h b/src/pool.h
index 81f0692..bd1639b 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -219,10 +219,20 @@ static inline Solvable *pool_id2solvable(const Pool *pool, Id p)
return pool->solvables + p;
}
-extern const char *solvable2str(Pool *pool, Solvable *s);
+extern const char *pool_solvable2str(Pool *pool, Solvable *s);
+static inline const char *pool_solvid2str(Pool *pool, Id p)
+{
+ return pool_solvable2str(pool, pool->solvables + p);
+}
+
+/* obsolete, do not use anymore */
+static inline const char *solvable2str(Pool *pool, Solvable *s)
+{
+ return pool_solvable2str(pool, s);
+}
static inline const char *solvid2str(Pool *pool, Id p)
{
- return solvable2str(pool, pool->solvables + p);
+ return pool_solvable2str(pool, pool->solvables + p);
}
void pool_set_languages(Pool *pool, const char **languages, int nlanguages);