advisory.h | advisory.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
HY_ADVISORY_ENHANCEMENT | HY_ADVISORY_ENHANCEMENT | |||
} HyAdvisoryType; | } HyAdvisoryType; | |||
void hy_advisory_free(HyAdvisory advisory); | void hy_advisory_free(HyAdvisory advisory); | |||
const char *hy_advisory_get_title(HyAdvisory advisory); | const char *hy_advisory_get_title(HyAdvisory advisory); | |||
const char *hy_advisory_get_id(HyAdvisory advisory); | const char *hy_advisory_get_id(HyAdvisory advisory); | |||
HyAdvisoryType hy_advisory_get_type(HyAdvisory advisory); | HyAdvisoryType hy_advisory_get_type(HyAdvisory advisory); | |||
const char *hy_advisory_get_description(HyAdvisory advisory); | const char *hy_advisory_get_description(HyAdvisory advisory); | |||
const char *hy_advisory_get_rights(HyAdvisory advisory); | const char *hy_advisory_get_rights(HyAdvisory advisory); | |||
unsigned long long hy_advisory_get_updated(HyAdvisory advisory); | unsigned long long hy_advisory_get_updated(HyAdvisory advisory); | |||
HyStringArray hy_advisory_get_filenames(HyAdvisory advisory); | HyAdvisoryPkgList hy_advisory_get_packages(HyAdvisory advisory); | |||
HyAdvisoryRefList hy_advisory_get_references(HyAdvisory advisory); | HyAdvisoryRefList hy_advisory_get_references(HyAdvisory advisory); | |||
void hy_advisorylist_free(HyAdvisoryList advisorylist); | void hy_advisorylist_free(HyAdvisoryList advisorylist); | |||
int hy_advisorylist_count(HyAdvisoryList advisorylist); | int hy_advisorylist_count(HyAdvisoryList advisorylist); | |||
HyAdvisory hy_advisorylist_get_clone(HyAdvisoryList advisorylist, int index ); | HyAdvisory hy_advisorylist_get_clone(HyAdvisoryList advisorylist, int index ); | |||
// deprecated in 0.4.18, eligible for dropping after 2014-10-15 AND no soon | ||||
er | ||||
// than in 0.4.21, use hy_advisorypkg_get_string instead | ||||
HyStringArray hy_advisory_get_filenames(HyAdvisory advisory); | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif /* HY_ADVISORY_H */ | #endif /* HY_ADVISORY_H */ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 6 lines changed or added | |||
package.h | package.h | |||
---|---|---|---|---|
skipping to change at line 97 | skipping to change at line 97 | |||
void *hy_package_get_userdata(HyPackage pkg); | void *hy_package_get_userdata(HyPackage pkg); | |||
void hy_package_set_userdata(HyPackage pkg, void *userdata, HyUserdataDestr oy destroy_func); | void hy_package_set_userdata(HyPackage pkg, void *userdata, HyUserdataDestr oy destroy_func); | |||
HyPackageDelta hy_package_get_delta_from_evr(HyPackage pkg, const char *fro m_evr); | HyPackageDelta hy_package_get_delta_from_evr(HyPackage pkg, const char *fro m_evr); | |||
const char *hy_packagedelta_get_location(HyPackageDelta delta); | const char *hy_packagedelta_get_location(HyPackageDelta delta); | |||
const char *hy_packagedelta_get_baseurl(HyPackageDelta delta); | const char *hy_packagedelta_get_baseurl(HyPackageDelta delta); | |||
unsigned long long hy_packagedelta_get_downloadsize(HyPackageDelta delta); | unsigned long long hy_packagedelta_get_downloadsize(HyPackageDelta delta); | |||
const unsigned char *hy_packagedelta_get_chksum(HyPackageDelta delta, int * type); | const unsigned char *hy_packagedelta_get_chksum(HyPackageDelta delta, int * type); | |||
void hy_packagedelta_free(HyPackageDelta delta); | void hy_packagedelta_free(HyPackageDelta delta); | |||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_type instead | ||||
HyUpdateSeverity hy_package_get_update_severity(HyPackage pkg); | ||||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_id instead | ||||
const char *hy_package_get_update_name(HyPackage pkg); | ||||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_description instead | ||||
const char *hy_package_get_update_description(HyPackage pkg); | ||||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_updated instead | ||||
unsigned long long hy_package_get_update_issued(HyPackage pkg); | ||||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_references instead | ||||
HyStringArray hy_package_get_update_urls_bugzilla(HyPackage pkg); | ||||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_references instead | ||||
HyStringArray hy_package_get_update_urls_cve(HyPackage pkg); | ||||
// deprecated in 0.4.12, eligible for dropping after 2014-07-07 AND no soon | ||||
er | ||||
// than in 0.4.15, use hy_advisory_get_references instead | ||||
HyStringArray hy_package_get_update_urls_vendor(HyPackage pkg); | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
29 lines changed or deleted | 0 lines changed or added | |||
repo.h | repo.h | |||
---|---|---|---|---|
skipping to change at line 42 | skipping to change at line 42 | |||
HY_REPO_NAME, | HY_REPO_NAME, | |||
HY_REPO_MD_FN, | HY_REPO_MD_FN, | |||
HY_REPO_PRESTO_FN, | HY_REPO_PRESTO_FN, | |||
HY_REPO_PRIMARY_FN, | HY_REPO_PRIMARY_FN, | |||
HY_REPO_FILELISTS_FN, | HY_REPO_FILELISTS_FN, | |||
HY_REPO_UPDATEINFO_FN | HY_REPO_UPDATEINFO_FN | |||
}; | }; | |||
HyRepo hy_repo_create(const char *name); | HyRepo hy_repo_create(const char *name); | |||
int hy_repo_get_cost(HyRepo repo); | int hy_repo_get_cost(HyRepo repo); | |||
int hy_repo_get_priority(HyRepo repo); | ||||
void hy_repo_set_cost(HyRepo repo, int value); | void hy_repo_set_cost(HyRepo repo, int value); | |||
void hy_repo_set_priority(HyRepo repo, int value); | ||||
void hy_repo_set_string(HyRepo repo, int which, const char *str_val); | void hy_repo_set_string(HyRepo repo, int which, const char *str_val); | |||
const char *hy_repo_get_string(HyRepo repo, int which); | const char *hy_repo_get_string(HyRepo repo, int which); | |||
void hy_repo_free(HyRepo repo); | void hy_repo_free(HyRepo repo); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif /* HY_REPO_H */ | #endif /* HY_REPO_H */ | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
sack.h | sack.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
HY_LOAD_FILELISTS = 1 << 1, | HY_LOAD_FILELISTS = 1 << 1, | |||
HY_LOAD_PRESTO = 1 << 2, | HY_LOAD_PRESTO = 1 << 2, | |||
HY_LOAD_UPDATEINFO = 1 << 3 | HY_LOAD_UPDATEINFO = 1 << 3 | |||
}; | }; | |||
HySack hy_sack_create(const char *cache_path, const char *arch, | HySack hy_sack_create(const char *cache_path, const char *arch, | |||
const char *rootdir, int flags); | const char *rootdir, int flags); | |||
void hy_sack_free(HySack sack); | void hy_sack_free(HySack sack); | |||
int hy_sack_evr_cmp(HySack sack, const char *evr1, const char *evr2); | int hy_sack_evr_cmp(HySack sack, const char *evr1, const char *evr2); | |||
const char *hy_sack_get_cache_dir(HySack sack); | const char *hy_sack_get_cache_dir(HySack sack); | |||
HyPackage hy_sack_get_running_kernel(HySack sack); | ||||
char *hy_sack_give_cache_fn(HySack sack, const char *reponame, const char * ext); | char *hy_sack_give_cache_fn(HySack sack, const char *reponame, const char * ext); | |||
const char **hy_sack_list_arches(HySack sack); | const char **hy_sack_list_arches(HySack sack); | |||
void hy_sack_set_installonly(HySack sack, const char **installonly); | void hy_sack_set_installonly(HySack sack, const char **installonly); | |||
void hy_sack_set_installonly_limit(HySack sack, int limit); | void hy_sack_set_installonly_limit(HySack sack, int limit); | |||
void hy_sack_create_cmdline_repo(HySack sack); | void hy_sack_create_cmdline_repo(HySack sack); | |||
HyPackage hy_sack_add_cmdline_package(HySack sack, const char *fn); | HyPackage hy_sack_add_cmdline_package(HySack sack, const char *fn); | |||
int hy_sack_count(HySack sack); | int hy_sack_count(HySack sack); | |||
void hy_sack_add_excludes(HySack sack, HyPackageSet pset); | void hy_sack_add_excludes(HySack sack, HyPackageSet pset); | |||
void hy_sack_set_excludes(HySack sack, HyPackageSet pset); | void hy_sack_set_excludes(HySack sack, HyPackageSet pset); | |||
int hy_sack_repo_enabled(HySack sack, const char *reponame, int enabled); | int hy_sack_repo_enabled(HySack sack, const char *reponame, int enabled); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
types.h | types.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
#ifndef HY_TYPES_H | #ifndef HY_TYPES_H | |||
#define HY_TYPES_H | #define HY_TYPES_H | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
typedef enum _HyForm HyForm; | typedef enum _HyForm HyForm; | |||
typedef struct _HyAdvisory * HyAdvisory; | typedef struct _HyAdvisory * HyAdvisory; | |||
typedef struct _HyAdvisoryList * HyAdvisoryList; | typedef struct _HyAdvisoryList * HyAdvisoryList; | |||
typedef struct _HyAdvisoryPkg * HyAdvisoryPkg; | ||||
typedef struct _HyAdvisoryPkgList * HyAdvisoryPkgList; | ||||
typedef struct _HyAdvisoryRef * HyAdvisoryRef; | typedef struct _HyAdvisoryRef * HyAdvisoryRef; | |||
typedef struct _HyAdvisoryRefList * HyAdvisoryRefList; | typedef struct _HyAdvisoryRefList * HyAdvisoryRefList; | |||
typedef struct _HyRepo * HyRepo; | typedef struct _HyRepo * HyRepo; | |||
typedef struct _HyGoal * HyGoal; | typedef struct _HyGoal * HyGoal; | |||
typedef struct _HyNevra * HyNevra; | typedef struct _HyNevra * HyNevra; | |||
typedef struct _HyPackage * HyPackage; | typedef struct _HyPackage * HyPackage; | |||
typedef struct _HyPackageDelta * HyPackageDelta; | typedef struct _HyPackageDelta * HyPackageDelta; | |||
typedef struct _HyPackageList * HyPackageList; | typedef struct _HyPackageList * HyPackageList; | |||
typedef struct _HyPackageListIter * HyPackageListIter; | typedef struct _HyPackageListIter * HyPackageListIter; | |||
typedef struct _HyPackageSet * HyPackageSet; | typedef struct _HyPackageSet * HyPackageSet; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
#ifndef HY_VERSION_H | #ifndef HY_VERSION_H | |||
#define HY_VERSION_H | #define HY_VERSION_H | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#define HY_VERSION_MAJOR 0 | #define HY_VERSION_MAJOR 0 | |||
#define HY_VERSION_MINOR 4 | #define HY_VERSION_MINOR 4 | |||
#define HY_VERSION_PATCH 16 | #define HY_VERSION_PATCH 18 | |||
#define HY_VERSION_CHECK(major,minor,patch) \ | #define HY_VERSION_CHECK(major,minor,patch) \ | |||
(HY_VERSION_MAJOR > (major) || \ | (HY_VERSION_MAJOR > (major) || \ | |||
(HY_VERSION_MAJOR == (major) && HY_VERSION_MINOR > (minor)) || \ | (HY_VERSION_MAJOR == (major) && HY_VERSION_MINOR > (minor)) || \ | |||
(HY_VERSION_MAJOR == (major) && HY_VERSION_MINOR == (minor) && \ | (HY_VERSION_MAJOR == (major) && HY_VERSION_MINOR == (minor) && \ | |||
HY_VERSION_PATCH >= (patch))) | HY_VERSION_PATCH >= (patch))) | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||