alpm: deprecate old interface
commit2a90dbe3a8f58c2fc50d8bcd8136fbced659b734
authorXavier Chantry <chantry.xavier@gmail.com>
Sun, 17 Oct 2010 09:18:53 +0000 (17 11:18 +0200)
committerXavier Chantry <chantry.xavier@gmail.com>
Sat, 29 Jan 2011 18:39:06 +0000 (29 19:39 +0100)
tree6ade0734e487af73ce9536914fa6619a5a29d189
parenteed7ba92e849edbd5505baa2c1d4864d0490fa80
alpm: deprecate old interface

Old interface is marked as deprecated:
int alpm_sync_target(char *target);
int alpm_sync_dbtarget(char *db, char *target);
int alpm_add_target(char *target);
int alpm_remove_target(char *target);

New recommended interface:
int alpm_add_pkg(pmpkg_t *pkg);
int alpm_remove_pkg(pmpkg_t *pkg);

Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
lib/libalpm/alpm.h