Alternatives framework for xbps (2/2).
See xbps-alternatives(1) for more information. Thanks to all who helped to design this and for fixing grammar in the manual page.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
*
|
||||
* This header documents the full API for the XBPS Library.
|
||||
*/
|
||||
#define XBPS_API_VERSION "20151018"
|
||||
#define XBPS_API_VERSION "20151030"
|
||||
|
||||
#ifndef XBPS_VERSION
|
||||
#define XBPS_VERSION "UNSET"
|
||||
@@ -96,12 +96,6 @@
|
||||
*/
|
||||
#define XBPS_PKGDB "pkgdb-0.38.plist"
|
||||
|
||||
/**
|
||||
* @def XBPS_ALTERNATIVES
|
||||
* Filename for the package alternatives database.
|
||||
*/
|
||||
#define XBPS_ALTERNATIVES "alternatives-0.48.plist"
|
||||
|
||||
/**
|
||||
* @def XBPS_PKGPROPS
|
||||
* Filename for package metadata property list.
|
||||
@@ -530,7 +524,6 @@ struct xbps_handle {
|
||||
*/
|
||||
xbps_dictionary_t pkgdb_revdeps;
|
||||
xbps_dictionary_t vpkgd;
|
||||
xbps_dictionary_t alternatives;
|
||||
/**
|
||||
* @var pkgdb
|
||||
*
|
||||
@@ -646,7 +639,7 @@ void xbps_dbg_printf_append(struct xbps_handle *, const char *, ...);
|
||||
void xbps_error_printf(const char *, ...);
|
||||
void xbps_warn_printf(const char *, ...);
|
||||
|
||||
int xbps_alternatives_flush(struct xbps_handle *xhp);
|
||||
int xbps_alternatives_set(struct xbps_handle *, const char *, const char *);
|
||||
int xbps_alternatives_register(struct xbps_handle *, xbps_dictionary_t);
|
||||
int xbps_alternatives_unregister(struct xbps_handle *, xbps_dictionary_t);
|
||||
|
||||
|
Reference in New Issue
Block a user