Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.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/db.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/db.h')
-rw-r--r--lib/libalpm/db.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libalpm/db.h b/lib/libalpm/db.h
index a07ed52f..a86940f7 100644
--- a/lib/libalpm/db.h
+++ b/lib/libalpm/db.h
@@ -47,13 +47,13 @@ typedef struct __pmdb_t {
PMList *grpcache;
} pmdb_t;
-pmdb_t *db_open(char *path, char *treename, int mode);
-void db_close(pmdb_t *db);
-void db_rewind(pmdb_t *db);
-pmpkg_t *db_scan(pmdb_t *db, char *target, unsigned int inforeq);
-int db_read(pmdb_t *db, char *name, unsigned int inforeq, pmpkg_t *info);
-int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq);
-int db_remove(pmdb_t *db, pmpkg_t *info);
+pmdb_t *_alpm_db_open(char *path, char *treename, int mode);
+void _alpm_db_close(pmdb_t *db);
+void _alpm_db_rewind(pmdb_t *db);
+pmpkg_t *_alpm_db_scan(pmdb_t *db, char *target, unsigned int inforeq);
+int _alpm_db_read(pmdb_t *db, char *name, unsigned int inforeq, pmpkg_t *info);
+int _alpm_db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq);
+int _alpm_db_remove(pmdb_t *db, pmpkg_t *info);
#endif /* _ALPM_DB_H */