cpe_dict.h   cpe_dict.h 
skipping to change at line 14 skipping to change at line 14
* @addtogroup cpedict CPE Dictionary * @addtogroup cpedict CPE Dictionary
* @{ * @{
* *
* @image html cpe_dictionary.png "Class diagram" * @image html cpe_dictionary.png "Class diagram"
* @file cpe_dict.h * @file cpe_dict.h
* *
* \brief Interface to Common Platform Enumeration (CPE) Dictionary. * \brief Interface to Common Platform Enumeration (CPE) Dictionary.
*/ */
/* /*
* Copyright 2009 Red Hat Inc., Durham, North Carolina. * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina.
* All Rights Reserved. * All Rights Reserved.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A
* *
* Authors: * Authors:
* Maros Barabas <mbarabas@redhat.com> * Maros Barabas <mbarabas@redhat.com>
* Lukas Kuklinek <lkuklinek@redhat.com> * Lukas Kuklinek <lkuklinek@redhat.com>
* Šimon Lukašík
*/ */
#ifndef CPEDICT_H_ #ifndef CPEDICT_H_
#define CPEDICT_H_ #define CPEDICT_H_
#include "oscap.h"
#include "cpe_name.h" #include "cpe_name.h"
#include "oscap_text.h" #include "oscap_text.h"
/** /**
* @struct cpe_dict_model * @struct cpe_dict_model
* Structure representing a CPE dictionary. * Structure representing a CPE dictionary.
*/ */
struct cpe_dict_model; struct cpe_dict_model;
/** /**
skipping to change at line 178 skipping to change at line 180
* @param item CPE reference item * @param item CPE reference item
*/ */
const char *cpe_reference_get_content(const struct cpe_reference *item); const char *cpe_reference_get_content(const struct cpe_reference *item);
/** cpe_item functions to get variable member name /** cpe_item functions to get variable member name
* @memberof cpe_item * @memberof cpe_item
* @param item CPE item * @param item CPE item
*/ */
struct cpe_name *cpe_item_get_name(const struct cpe_item *item); struct cpe_name *cpe_item_get_name(const struct cpe_item *item);
/** cpe_item functions to get variable member deprecated /** cpe_item functions to get variable member deprecated_by
* @memberof cpe_item * @memberof cpe_item
* @param item CPE item * @param item CPE item
*/ */
struct cpe_name *cpe_item_get_deprecated(const struct cpe_item *item); struct cpe_name *cpe_item_get_deprecated_by(const struct cpe_item *item);
/** cpe_item functions to get variable member deprecated_by
* @memberof cpe_item
* @param item CPE item
* @returns deprecated_by attribute
* @deprecated This function has been deprecated by @ref cpe_item_get_depre
cated_by.
* This function may be dropped from later versions of the library.
*/
OSCAP_DEPRECATED(struct cpe_name *cpe_item_get_deprecated(const struct cpe_
item *item));
/** cpe_item functions to get variable member date /** cpe_item functions to get variable member date
* @memberof cpe_item * @memberof cpe_item
* @param item CPE item * @param item CPE item
*/ */
const char *cpe_item_get_deprecation_date(const struct cpe_item *item); const char *cpe_item_get_deprecation_date(const struct cpe_item *item);
/** cpe_item functions to get metadata of cpe_item /** cpe_item functions to get metadata of cpe_item
* @memberof cpe_item * @memberof cpe_item
* @param item CPE item * @param item CPE item
skipping to change at line 217 skipping to change at line 228
/** cpe_item functions to get CPE titles /** cpe_item functions to get CPE titles
* @memberof cpe_item * @memberof cpe_item
* @param item CPE item * @param item CPE item
*/ */
struct oscap_text_iterator *cpe_item_get_titles(const struct cpe_item *item ); struct oscap_text_iterator *cpe_item_get_titles(const struct cpe_item *item );
/** cpe_item functions to get CPE notes /** cpe_item functions to get CPE notes
* @memberof cpe_item * @memberof cpe_item
* @param item CPE item * @param item CPE item
* @deprecated This function has been deprecated and it may be dropped from
later
* versions of the library. (Please see upstream ticket #339 for further de
tails).
*/ */
struct oscap_text_iterator *cpe_item_get_notes(const struct cpe_item *item) ; OSCAP_DEPRECATED(struct oscap_text_iterator *cpe_item_get_notes(const struc t cpe_item *item));
/** cpe_generator functions to get product name /** cpe_generator functions to get product name
* @memberof cpe_generator * @memberof cpe_generator
* @param item document generator * @param item document generator
*/ */
const char *cpe_generator_get_product_name(const struct cpe_generator *item ); const char *cpe_generator_get_product_name(const struct cpe_generator *item );
/** cpe_generator functions to get product version /** cpe_generator functions to get product version
* @memberof cpe_generator * @memberof cpe_generator
* @param item document generator * @param item document generator
skipping to change at line 503 skipping to change at line 516
/// @memberof cpe_item /// @memberof cpe_item
bool cpe_item_add_reference(struct cpe_item *item, struct cpe_reference *ne w_reference); bool cpe_item_add_reference(struct cpe_item *item, struct cpe_reference *ne w_reference);
/// @memberof cpe_item /// @memberof cpe_item
bool cpe_item_add_check(struct cpe_item *item, struct cpe_check *new_check) ; bool cpe_item_add_check(struct cpe_item *item, struct cpe_check *new_check) ;
/// @memberof cpe_item /// @memberof cpe_item
bool cpe_item_add_title(struct cpe_item *item, struct oscap_text *new_title ); bool cpe_item_add_title(struct cpe_item *item, struct oscap_text *new_title );
/// @memberof cpe_item /**
bool cpe_item_add_note(struct cpe_item *item, struct oscap_text *new_title) * @memberof cpe_item
; * @deprecated This function has been deprecated and it may be dropped from
later
* versions of the library. (Please see upstream ticket #339 for further de
tails).
*/
OSCAP_DEPRECATED(bool cpe_item_add_note(struct cpe_item *item, struct oscap
_text *new_title));
/// @memberof cpe_dict_model /// @memberof cpe_dict_model
bool cpe_dict_model_add_vendor(struct cpe_dict_model *dict, struct cpe_vend or *new_vendor); bool cpe_dict_model_add_vendor(struct cpe_dict_model *dict, struct cpe_vend or *new_vendor);
/// @memberof cpe_vendor /// @memberof cpe_vendor
bool cpe_vendor_add_title(struct cpe_vendor *vendor, struct oscap_text *new _title); bool cpe_vendor_add_title(struct cpe_vendor *vendor, struct oscap_text *new _title);
/// @memberof cpe_vendor /// @memberof cpe_vendor
bool cpe_vendor_add_product(struct cpe_vendor *vendor, struct cpe_product * new_product); bool cpe_vendor_add_product(struct cpe_vendor *vendor, struct cpe_product * new_product);
 End of changes. 8 change blocks. 
7 lines changed or deleted 30 lines changed or added


 xccdf_benchmark.h   xccdf_benchmark.h 
skipping to change at line 890 skipping to change at line 890
void xccdf_warning_free(struct xccdf_warning * warn); void xccdf_warning_free(struct xccdf_warning * warn);
/// @memberof xccdf_refine_rule /// @memberof xccdf_refine_rule
void xccdf_refine_rule_free(struct xccdf_refine_rule *obj); void xccdf_refine_rule_free(struct xccdf_refine_rule *obj);
/// @memberof xccdf_refine_value /// @memberof xccdf_refine_value
void xccdf_refine_value_free(struct xccdf_refine_value *rv); void xccdf_refine_value_free(struct xccdf_refine_value *rv);
void xccdf_setvalue_free(struct xccdf_setvalue *sv); void xccdf_setvalue_free(struct xccdf_setvalue *sv);
/// @memberof xccdf_tailoring
struct xccdf_tailoring *xccdf_tailoring_new(void);
/// @memberof xccdf_tailoring
void xccdf_tailoring_free(struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring
int xccdf_tailoring_export(struct xccdf_tailoring *tailoring, const char *f
ile, const struct xccdf_version_info *version_info);
/** /**
* Release library internal caches. * Release library internal caches.
* @deprecated Use @ref oscap_cleanup() instead. * @deprecated Use @ref oscap_cleanup() instead.
*/ */
OSCAP_DEPRECATED(void xccdf_cleanup(void)); OSCAP_DEPRECATED(void xccdf_cleanup(void));
/** /**
* Create a group and append it to the benchmark. * Create a group and append it to the benchmark.
* @param id - the identifier of the appended value. * @param id - the identifier of the appended value.
* @return the handle of the new group. * @return the handle of the new group.
skipping to change at line 2594 skipping to change at line 2601
const char *xccdf_target_identifier_get_name(const struct xccdf_target_iden tifier *item); const char *xccdf_target_identifier_get_name(const struct xccdf_target_iden tifier *item);
/// @memberof xccdf_instance /// @memberof xccdf_instance
const char *xccdf_instance_get_context(const struct xccdf_instance *item); const char *xccdf_instance_get_context(const struct xccdf_instance *item);
/// @memberof xccdf_instance /// @memberof xccdf_instance
const char *xccdf_instance_get_parent_context(const struct xccdf_instance * item); const char *xccdf_instance_get_parent_context(const struct xccdf_instance * item);
/// @memberof xccdf_instance /// @memberof xccdf_instance
const char *xccdf_instance_get_content(const struct xccdf_instance *item); const char *xccdf_instance_get_content(const struct xccdf_instance *item);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
struct xccdf_tailoring *xccdf_tailoring_import(const char *file, struct xcc df_benchmark *benchmark); struct xccdf_tailoring *xccdf_tailoring_import(const char *file, struct xcc df_benchmark *benchmark);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_id(const struct xccdf_tailoring *tailoring)
;
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_version(const struct xccdf_tailoring *tailo ring); const char *xccdf_tailoring_get_version(const struct xccdf_tailoring *tailo ring);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_version_update(const struct xccdf_tailoring *tailoring); const char *xccdf_tailoring_get_version_update(const struct xccdf_tailoring *tailoring);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_version_time(const struct xccdf_tailoring * tailoring); const char *xccdf_tailoring_get_version_time(const struct xccdf_tailoring * tailoring);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_benchmark_ref(const struct xccdf_tailoring
*tailoring);
/// @memberof xccdf_tailoring
const char *xccdf_tailoring_get_benchmark_ref_version(const struct xccdf_ta
iloring *tailoring);
/// @memberof xccdf_tailoring
struct oscap_string_iterator *xccdf_tailoring_get_metadata(const struct xcc df_tailoring *tailoring); struct oscap_string_iterator *xccdf_tailoring_get_metadata(const struct xcc df_tailoring *tailoring);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
struct xccdf_profile_iterator *xccdf_tailoring_get_profiles(const struct xc cdf_tailoring *tailoring); struct xccdf_profile_iterator *xccdf_tailoring_get_profiles(const struct xc cdf_tailoring *tailoring);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
struct xccdf_status_iterator *xccdf_tailoring_get_statuses(const struct xcc df_tailoring *tailoring); struct xccdf_status_iterator *xccdf_tailoring_get_statuses(const struct xcc df_tailoring *tailoring);
/// @memberof xccdf_tailoring /// @memberof xccdf_tailoring
struct oscap_reference_iterator *xccdf_tailoring_get_dc_statuses(const stru ct xccdf_tailoring *tailoring); struct oscap_reference_iterator *xccdf_tailoring_get_dc_statuses(const stru ct xccdf_tailoring *tailoring);
/** /**
* @param profile_id id of the profile that should be returned or NULL for default profile * @param profile_id id of the profile that should be returned or NULL for default profile
* @note * @note
skipping to change at line 2996 skipping to change at line 3009
/// @memberof xccdf_target_identifier /// @memberof xccdf_target_identifier
bool xccdf_target_identifier_set_name(struct xccdf_target_identifier *ti, c onst char *newval); bool xccdf_target_identifier_set_name(struct xccdf_target_identifier *ti, c onst char *newval);
/// @memberof xccdf_instance /// @memberof xccdf_instance
bool xccdf_instance_set_context(struct xccdf_instance *obj, const char *new val); bool xccdf_instance_set_context(struct xccdf_instance *obj, const char *new val);
/// @memberof xccdf_instance /// @memberof xccdf_instance
bool xccdf_instance_set_parent_context(struct xccdf_instance *obj, const ch ar *newval); bool xccdf_instance_set_parent_context(struct xccdf_instance *obj, const ch ar *newval);
/// @memberof xccdf_instance /// @memberof xccdf_instance
bool xccdf_instance_set_content(struct xccdf_instance *obj, const char *new val); bool xccdf_instance_set_content(struct xccdf_instance *obj, const char *new val);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_id(struct xccdf_tailoring *tailoring, const char*
newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_version(struct xccdf_tailoring *tailoring, const c
har* newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_version_update(struct xccdf_tailoring *tailoring,
const char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_version_time(struct xccdf_tailoring *tailoring, co
nst char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_benchmark_ref(struct xccdf_tailoring *tailoring, c
onst char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_set_benchmark_ref_version(struct xccdf_tailoring *tail
oring, const char *newval);
/// @memberof xccdf_tailoring
bool xccdf_tailoring_add_profile(struct xccdf_tailoring *tailoring, struct
xccdf_profile *profile);
// @memberof xccdf_ident // @memberof xccdf_ident
void xccdf_ident_set_id(struct xccdf_ident * ident, const char *id); void xccdf_ident_set_id(struct xccdf_ident * ident, const char *id);
// @memberof xccdf_ident // @memberof xccdf_ident
void xccdf_ident_set_system(struct xccdf_ident * ident, const char *sys); void xccdf_ident_set_system(struct xccdf_ident * ident, const char *sys);
/// @memberof xccdf_benchmark /// @memberof xccdf_benchmark
bool xccdf_benchmark_add_result(struct xccdf_benchmark *bench, struct xccdf _result *result); bool xccdf_benchmark_add_result(struct xccdf_benchmark *bench, struct xccdf _result *result);
/// @memberof xccdf_benchmark /// @memberof xccdf_benchmark
bool xccdf_benchmark_add_description(struct xccdf_benchmark *item, struct o scap_text *newval); bool xccdf_benchmark_add_description(struct xccdf_benchmark *item, struct o scap_text *newval);
 End of changes. 4 change blocks. 
0 lines changed or deleted 40 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/