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);
00041
00043 struct oscap_reference *oscap_reference_new(void);
00045 void oscap_reference_free(struct oscap_reference *ref);
00047 struct oscap_reference *oscap_reference_clone(const struct oscap_reference *ref);
00048
00050 bool oscap_reference_get_is_dublincore(const struct oscap_reference *item);
00052 bool oscap_reference_set_is_dublincore(struct oscap_reference *obj, bool newval);
00053
00055 const char *oscap_reference_get_title(const struct oscap_reference *item);
00057 bool oscap_reference_set_title(struct oscap_reference *obj, const char *newval);
00059 const char *oscap_reference_get_creator(const struct oscap_reference *item);
00061 bool oscap_reference_set_creator(struct oscap_reference *obj, const char *newval);
00063 const char *oscap_reference_get_subject(const struct oscap_reference *item);
00065 bool oscap_reference_set_subject(struct oscap_reference *obj, const char *newval);
00067 const char *oscap_reference_get_description(const struct oscap_reference *item);
00069 bool oscap_reference_set_description(struct oscap_reference *obj, const char *newval);
00071 const char *oscap_reference_get_publisher(const struct oscap_reference *item);
00073 bool oscap_reference_set_publisher(struct oscap_reference *obj, const char *newval);
00075 const char *oscap_reference_get_contributor(const struct oscap_reference *item);
00077 bool oscap_reference_set_contributor(struct oscap_reference *obj, const char *newval);
00079 const char *oscap_reference_get_date(const struct oscap_reference *item);
00081 bool oscap_reference_set_date(struct oscap_reference *obj, const char *newval);
00083 const char *oscap_reference_get_type(const struct oscap_reference *item);
00085 bool oscap_reference_set_type(struct oscap_reference *obj, const char *newval);
00087 const char *oscap_reference_get_format(const struct oscap_reference *item);
00089 bool oscap_reference_set_format(struct oscap_reference *obj, const char *newval);
00091 const char *oscap_reference_get_identifier(const struct oscap_reference *item);
00093 bool oscap_reference_set_identifier(struct oscap_reference *obj, const char *newval);
00095 const char *oscap_reference_get_source(const struct oscap_reference *item);
00097 bool oscap_reference_set_source(struct oscap_reference *obj, const char *newval);
00099 const char *oscap_reference_get_language(const struct oscap_reference *item);
00101 bool oscap_reference_set_language(struct oscap_reference *obj, const char *newval);
00103 const char *oscap_reference_get_relation(const struct oscap_reference *item);
00105 bool oscap_reference_set_relation(struct oscap_reference *obj, const char *newval);
00107 const char *oscap_reference_get_coverage(const struct oscap_reference *item);
00109 bool oscap_reference_set_coverage(struct oscap_reference *obj, const char *newval);
00111 const char *oscap_reference_get_rights(const struct oscap_reference *item);
00113 bool oscap_reference_set_rights(struct oscap_reference *obj, const char *newval);
00114
00115 #endif