Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/cache.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
commitbe39f49a5461d5804e4391266dfea6dd076691f4 (patch)
tree911a7f550895d9fdda7b4846d6775699549b2bf4 /lib/libalpm/cache.h
parent5e4c3661c6066623bbfa34bacccfafda5be21315 (diff)
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
Diffstat (limited to 'lib/libalpm/cache.h')
-rw-r--r--lib/libalpm/cache.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libalpm/cache.h b/lib/libalpm/cache.h
index 94b1c062..c1ab844e 100644
--- a/lib/libalpm/cache.h
+++ b/lib/libalpm/cache.h
@@ -27,17 +27,17 @@
#include "db.h"
/* packages */
-int db_load_pkgcache(pmdb_t *db);
-void db_free_pkgcache(pmdb_t *db);
-int db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg);
-int db_remove_pkgfromcache(pmdb_t *db, pmpkg_t *pkg);
-PMList *db_get_pkgcache(pmdb_t *db);
-pmpkg_t *db_get_pkgfromcache(pmdb_t *db, char *target);
+int _alpm_db_load_pkgcache(pmdb_t *db);
+void _alpm_db_free_pkgcache(pmdb_t *db);
+int _alpm_db_add_pkgincache(pmdb_t *db, pmpkg_t *pkg);
+int _alpm_db_remove_pkgfromcache(pmdb_t *db, pmpkg_t *pkg);
+PMList *_alpm_db_get_pkgcache(pmdb_t *db);
+pmpkg_t *_alpm_db_get_pkgfromcache(pmdb_t *db, char *target);
/* groups */
-int db_load_grpcache(pmdb_t *db);
-void db_free_grpcache(pmdb_t *db);
-PMList *db_get_grpcache(pmdb_t *db);
-pmgrp_t *db_get_grpfromcache(pmdb_t *db, char *target);
+int _alpm_db_load_grpcache(pmdb_t *db);
+void _alpm_db_free_grpcache(pmdb_t *db);
+PMList *_alpm_db_get_grpcache(pmdb_t *db);
+pmgrp_t *_alpm_db_get_grpfromcache(pmdb_t *db, char *target);
#endif /* _ALPM_CACHE_H */