summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-03-06 19:07:25 +0100
committerRémy Oudompheng <remy@archlinux.org>2011-04-09 22:36:43 +0200
commit6ebb6fec8b356c87e6fdea5659bbf34461adee90 (patch)
treea6afd0230a635796464d7384c7a545d0df69a957 /lib/libalpm/be_package.c
parent3901ca1a6db773aeecb7a03271d99e87dabdfd45 (diff)
downloadpacman-6ebb6fec8b356c87e6fdea5659bbf34461adee90.tar.gz
pacman-6ebb6fec8b356c87e6fdea5659bbf34461adee90.tar.xz
Move documentation for public package function to alpm.h
Diffstat (limited to 'lib/libalpm/be_package.c')
-rw-r--r--lib/libalpm/be_package.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
index f4837890..6dfddd61 100644
--- a/lib/libalpm/be_package.c
+++ b/lib/libalpm/be_package.c
@@ -367,16 +367,6 @@ error:
return(NULL);
}
-/** Create a package from a file.
- * If full is false, the archive is read only until all necessary
- * metadata is found. If it is true, the entire archive is read, which
- * serves as a verfication of integrity and the filelist can be created.
- * @param filename location of the package tarball
- * @param full whether to stop the load after metadata is read or continue
- * through the full archive
- * @param pkg address of the package pointer
- * @return 0 on success, -1 on error (pm_errno is set accordingly)
- */
int SYMEXPORT alpm_pkg_load(const char *filename, int full, pmpkg_t **pkg)
{
ALPM_LOG_FUNC;