• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

/home/pvrabec/project/openscap/openscap-0.6.6/src/common/public/reference.h

00001 /*
00002  * Copyright 2010 Red Hat Inc., Durham, North Carolina.
00003  * All Rights Reserved.
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018  *
00019  * Authors:
00020  *       Lukas Kuklinek <lkuklinek@redhat.com>
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

Generated on Thu Dec 9 2010 for Open SCAP Library by  doxygen 1.7.1