mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 20:05:07 -05:00
Update Doxyfile and add a few missing parts of documentation
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
2ab320a388
commit
cacf968970
@ -86,7 +86,21 @@ WARN_LOGFILE =
|
|||||||
INPUT = alpm.c \
|
INPUT = alpm.c \
|
||||||
alpm.h \
|
alpm.h \
|
||||||
alpm_list.c \
|
alpm_list.c \
|
||||||
alpm_list.h
|
alpm_list.h \
|
||||||
|
conflict.c \
|
||||||
|
db.c \
|
||||||
|
deps.c \
|
||||||
|
error.c \
|
||||||
|
group.c \
|
||||||
|
handle.c \
|
||||||
|
log.c \
|
||||||
|
md5driver.c \
|
||||||
|
package.c \
|
||||||
|
server.c \
|
||||||
|
sha1.c \
|
||||||
|
sync.c \
|
||||||
|
trans.c \
|
||||||
|
versioncmp.c
|
||||||
INPUT_ENCODING = UTF-8
|
INPUT_ENCODING = UTF-8
|
||||||
FILE_PATTERNS =
|
FILE_PATTERNS =
|
||||||
RECURSIVE = NO
|
RECURSIVE = NO
|
||||||
|
@ -258,6 +258,10 @@ int SYMEXPORT alpm_db_update(int force, pmdb_t *db)
|
|||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Get the name of a package database
|
||||||
|
* @param db pointer to the package database
|
||||||
|
* @return the name of the package database, NULL on error
|
||||||
|
*/
|
||||||
const char SYMEXPORT *alpm_db_get_name(const pmdb_t *db)
|
const char SYMEXPORT *alpm_db_get_name(const pmdb_t *db)
|
||||||
{
|
{
|
||||||
ALPM_LOG_FUNC;
|
ALPM_LOG_FUNC;
|
||||||
@ -269,6 +273,10 @@ const char SYMEXPORT *alpm_db_get_name(const pmdb_t *db)
|
|||||||
return db->treename;
|
return db->treename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Get a download URL for the package database
|
||||||
|
* @param db pointer to the package database
|
||||||
|
* @return a fully-specified download URL, NULL on error
|
||||||
|
*/
|
||||||
const char SYMEXPORT *alpm_db_get_url(const pmdb_t *db)
|
const char SYMEXPORT *alpm_db_get_url(const pmdb_t *db)
|
||||||
{
|
{
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
@ -400,6 +408,9 @@ alpm_list_t SYMEXPORT *alpm_db_search(pmdb_t *db, const alpm_list_t* needles)
|
|||||||
/* This function is mostly the same as sync.c find_replacements and sysupgrade
|
/* This function is mostly the same as sync.c find_replacements and sysupgrade
|
||||||
* functions, and we should be able to combine them - this is an interim
|
* functions, and we should be able to combine them - this is an interim
|
||||||
* solution made for -Qu operation */
|
* solution made for -Qu operation */
|
||||||
|
/** Get a list of upgradable packages on the current system
|
||||||
|
* @return a pmsyncpkg_t list of packages that are out of date
|
||||||
|
*/
|
||||||
alpm_list_t SYMEXPORT *alpm_db_get_upgrades()
|
alpm_list_t SYMEXPORT *alpm_db_get_upgrades()
|
||||||
{
|
{
|
||||||
alpm_list_t *syncpkgs = NULL;
|
alpm_list_t *syncpkgs = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user