00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #pragma once
00025 #ifndef OSCAP_REFERENCE_H_
00026 #define OSCAP_REFERENCE_H_
00027
00031 struct oscap_reference;
00032
00034 struct oscap_reference_iterator;
00036 bool oscap_reference_iterator_has_more(struct oscap_reference_iterator *it);
00038 struct oscap_reference *oscap_reference_iterator_next(struct oscap_reference_iterator *it);
00040 void oscap_reference_iterator_free(struct oscap_reference_iterator *it);
00042 void oscap_reference_iterator_reset(struct oscap_reference_iterator *it);
00043
00045 struct oscap_reference *oscap_reference_new(void);
00047 void oscap_reference_free(struct oscap_reference *ref);
00049 struct oscap_reference *oscap_reference_clone(const struct oscap_reference *ref);
00050
00052 bool oscap_reference_get_is_dublincore(const struct oscap_reference *item);
00054 bool oscap_reference_set_is_dublincore(struct oscap_reference *obj, bool newval);
00055
00057 const char *oscap_reference_get_title(const struct oscap_reference *item);
00059 bool oscap_reference_set_title(struct oscap_reference *obj, const char *newval);
00061 const char *oscap_reference_get_creator(const struct oscap_reference *item);
00063 bool oscap_reference_set_creator(struct oscap_reference *obj, const char *newval);
00065 const char *oscap_reference_get_subject(const struct oscap_reference *item);
00067 bool oscap_reference_set_subject(struct oscap_reference *obj, const char *newval);
00069 const char *oscap_reference_get_description(const struct oscap_reference *item);
00071 bool oscap_reference_set_description(struct oscap_reference *obj, const char *newval);
00073 const char *oscap_reference_get_publisher(const struct oscap_reference *item);
00075 bool oscap_reference_set_publisher(struct oscap_reference *obj, const char *newval);
00077 const char *oscap_reference_get_contributor(const struct oscap_reference *item);
00079 bool oscap_reference_set_contributor(struct oscap_reference *obj, const char *newval);
00081 const char *oscap_reference_get_date(const struct oscap_reference *item);
00083 bool oscap_reference_set_date(struct oscap_reference *obj, const char *newval);
00085 const char *oscap_reference_get_type(const struct oscap_reference *item);
00087 bool oscap_reference_set_type(struct oscap_reference *obj, const char *newval);
00089 const char *oscap_reference_get_format(const struct oscap_reference *item);
00091 bool oscap_reference_set_format(struct oscap_reference *obj, const char *newval);
00093 const char *oscap_reference_get_identifier(const struct oscap_reference *item);
00095 bool oscap_reference_set_identifier(struct oscap_reference *obj, const char *newval);
00097 const char *oscap_reference_get_source(const struct oscap_reference *item);
00099 bool oscap_reference_set_source(struct oscap_reference *obj, const char *newval);
00101 const char *oscap_reference_get_language(const struct oscap_reference *item);
00103 bool oscap_reference_set_language(struct oscap_reference *obj, const char *newval);
00105 const char *oscap_reference_get_relation(const struct oscap_reference *item);
00107 bool oscap_reference_set_relation(struct oscap_reference *obj, const char *newval);
00109 const char *oscap_reference_get_coverage(const struct oscap_reference *item);
00111 bool oscap_reference_set_coverage(struct oscap_reference *obj, const char *newval);
00113 const char *oscap_reference_get_rights(const struct oscap_reference *item);
00115 bool oscap_reference_set_rights(struct oscap_reference *obj, const char *newval);
00116
00117 #endif