index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Travis Willard <travis@archlinux.org> | 2007-08-26 22:42:17 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-08-26 23:44:32 -0400 |
commit | b6f89f03afcb6e1e6aa5d1c437db1df54a4baaca (patch) | |
tree | df847f105f3ae1d830250370ca9dbdf503905c58 /lib/libalpm/alpm.h | |
parent | 26441cf65ca10d4bf218203df5db5e8a7270787b (diff) |
-rw-r--r-- | lib/libalpm/alpm.h | 6 |
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 844d9bf2..a3772a05 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -31,6 +31,8 @@ extern "C" { #include <time.h> /* for time_t */ #include <stdarg.h> /* for va_list */ +#define DEPRECATED __attribute__((deprecated)) + /* * Arch Linux Package Management library */ @@ -143,7 +145,9 @@ alpm_list_t *alpm_option_get_syncdbs(); * Databases */ -pmdb_t *alpm_db_register(const char *treename); +/* Preferred interfaces db_register_local and db_register_sync */ +pmdb_t *alpm_db_register_local(void); +pmdb_t *alpm_db_register_sync(const char *treename); int alpm_db_unregister(pmdb_t *db); int alpm_db_unregister_all(void); |