parent
c7139c4b78
commit
244fb2a264
|
@ -1,4 +1,4 @@
|
||||||
.TH libalpm 3 "29 Jan 2006" "libalpm @PM_VERSION@" ""
|
.TH libalpm 3 "07 Jan 2007" "libalpm @PM_VERSION@" ""
|
||||||
.SH NAME
|
.SH NAME
|
||||||
libalpm \- Arch Linux Package Management library
|
libalpm \- Arch Linux Package Management library
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -6,13 +6,10 @@ For ease of access, the libalpm manual has been split up into several sections.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
alpm_databases Database Functions
|
alpm_databases Database Functions
|
||||||
alpm_dep Dependency Functions
|
|
||||||
alpm_groups Group Functions
|
|
||||||
alpm_interface Interface Functions
|
alpm_interface Interface Functions
|
||||||
alpm_list List Functions
|
alpm_list List Functions
|
||||||
alpm_log Logging Functions
|
alpm_log Logging Functions
|
||||||
alpm_misc Miscellaneous Functions
|
alpm_misc Miscellaneous Functions
|
||||||
alpm_options Library Options
|
|
||||||
alpm_packages Package Functions
|
alpm_packages Package Functions
|
||||||
alpm_sync Sync Functions
|
alpm_sync Sync Functions
|
||||||
alpm_trans Transaction Functions
|
alpm_trans Transaction Functions
|
||||||
|
|
|
@ -66,7 +66,7 @@ pmhandle_t *handle = NULL;
|
||||||
enum __pmerrno_t pm_errno;
|
enum __pmerrno_t pm_errno;
|
||||||
|
|
||||||
/** \addtogroup alpm_interface Interface Functions
|
/** \addtogroup alpm_interface Interface Functions
|
||||||
* @brief Function to initialize and release libalpm
|
* @brief Functions to initialize and release libalpm
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -127,15 +127,11 @@ int alpm_release()
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** \addtogroup alpm_options Library Options
|
|
||||||
* @brief Functions to set and get libalpm options
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** \addtogroup alpm_databases Database Functions
|
/** \addtogroup alpm_databases Database Functions
|
||||||
* @brief Frunctions to query and manipulate the database of libalpm
|
* @brief Functions to query and manipulate the database of libalpm
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -553,7 +549,7 @@ int alpm_pkg_vercmp(const char *ver1, const char *ver2)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* internal */
|
/* internal */
|
||||||
char *_supported_archs[] = {
|
static char *_supported_archs[] = {
|
||||||
"i586",
|
"i586",
|
||||||
"i686",
|
"i686",
|
||||||
"ppc",
|
"ppc",
|
||||||
|
@ -589,7 +585,6 @@ char *alpm_pkg_name_hasarch(char *pkgname)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** \addtogroup alpm_sync Sync Functions
|
/** \addtogroup alpm_sync Sync Functions
|
||||||
|
@ -611,6 +606,7 @@ pmlist_t *alpm_db_search(pmdb_t *db)
|
||||||
|
|
||||||
return(_alpm_db_search(db, handle->needles));
|
return(_alpm_db_search(db, handle->needles));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** \addtogroup alpm_trans Transaction Functions
|
/** \addtogroup alpm_trans Transaction Functions
|
||||||
|
@ -764,24 +760,7 @@ int alpm_trans_release()
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/** \addtogroup alpm_dep Dependency Functions
|
|
||||||
* @brief Functions to get informations about a libalpm dependency
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/** \addtogroup alpm_conflict File Conflicts Functions
|
|
||||||
* @brief Functions to get informations about a libalpm file conflict
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** Get informations about a file conflict.
|
|
||||||
* @param conflict database conflict structure
|
|
||||||
* @param parm name of the info to get
|
|
||||||
* @return a void* on success (the value), NULL on error
|
|
||||||
*/
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** \addtogroup alpm_log Logging Functions
|
/** \addtogroup alpm_log Logging Functions
|
||||||
|
@ -894,6 +873,7 @@ int alpm_list_count(const pmlist_t *list)
|
||||||
|
|
||||||
return(_alpm_list_count(list));
|
return(_alpm_list_count(list));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** \addtogroup alpm_misc Miscellaneous Functions
|
/** \addtogroup alpm_misc Miscellaneous Functions
|
||||||
|
@ -1111,7 +1091,7 @@ int alpm_parse_config(char *file, alpm_cb_db_register callback, const char *this
|
||||||
if(!strcmp(key, "SERVER")) {
|
if(!strcmp(key, "SERVER")) {
|
||||||
/* add to the list */
|
/* add to the list */
|
||||||
if(alpm_db_setserver(db, ptr) != 0) {
|
if(alpm_db_setserver(db, ptr) != 0) {
|
||||||
/* pm_errno is set by alpm_set_option */
|
/* pm_errno is set by alpm_db_setserver */
|
||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -1127,6 +1107,6 @@ int alpm_parse_config(char *file, alpm_cb_db_register callback, const char *this
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @} */
|
/** @} */
|
||||||
|
|
||||||
/* vim: set ts=2 sw=2 noet: */
|
/* vim: set ts=2 sw=2 noet: */
|
||||||
|
|
Loading…
Reference in New Issue