Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Readd missing bits when master was merged to gsoc2013 branch
Baptiste Daroussin committed 12 years ago
commit cdc62ca04defeaf4dfe26282fe89baa6944688ce
parent 8d3015774b64a9f91fce91f1741b4a069b6914c5
1 file changed +15 -0
modified libpkg/pkg.h.in
@@ -365,6 +365,7 @@ typedef enum _pkg_config_key {
	PKG_CONFIG_ENV,
	PKG_CONFIG_DISABLE_MTREE,
	PKG_CONFIG_DEBUG_LEVEL,
+
	PKG_CONFIG_ALIAS,
	PKG_CONFIG_CUDF_SOLVER,
	PKG_CONFIG_SAT_SOLVER,
} pkg_config_key;
@@ -806,6 +807,20 @@ int pkg_appendscript(struct pkg *pkg, const char *cmd, pkg_script type);
int pkg_addoption(struct pkg *pkg, const char *name, const char *value);

/**
+
 * Add a default value to an already existing struct pkg_option
+
 * @return An error code
+
 */
+
int pkg_addoption_default(struct pkg *pkg, const char *key,
+
                          const char *default_value);
+

+
/**
+
 * Add a description to an already exsting struct pkg_option
+
 * @return An error code.
+
 */
+
int pkg_addoption_description(struct pkg *pkg, const char *key,
+
                              const char *description);
+

+
/**
 * Add a shared library used by this package
 * @return An error code.
 */