summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-10-17 11:14:43 +0200
committerXavier Chantry <chantry.xavier@gmail.com>2011-01-29 19:33:16 +0100
commit953e0d48d7e6e3703bdaccef4ec2a8bbdbe460ed (patch)
tree88ff25aa997b701f95dcebc4e2bf2af2b2d4131b /lib/libalpm/alpm.h
parentf2fcf7eeb10dafec06d5d7d853b681f2e9fde45a (diff)
downloadpacman-953e0d48d7e6e3703bdaccef4ec2a8bbdbe460ed.tar.gz
pacman-953e0d48d7e6e3703bdaccef4ec2a8bbdbe460ed.tar.xz
alpm: new alpm_remove_pkg interface
For consistency with alpm_add_pkg. The new recommended interface is alpm_add_pkg / alpm_remove_pkg, all others interfaces are deprecated. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 606610e7..c76cd0f8 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -425,6 +425,7 @@ int alpm_add_target(const char *target);
int alpm_remove_target(const char *target);
int alpm_add_pkg(pmpkg_t *pkg);
+int alpm_remove_pkg(pmpkg_t *pkg);
/*
* Dependencies and conflicts