00001 00023 #ifndef _LIBGNURDF_DESCRIPTION_H_ 00024 #define _LIBGNURDF_DESCRIPTION_H_ 00025 00026 #include <libgnurdf/types.h> 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00041 RdfDescription *rdfFirstDescription(RdfSchema *schema); 00042 00052 RdfDescription *rdfNextDescription(RdfDescription *desc); 00053 00063 RdfDescription *rdfAddDescription(RdfSchema *schema, 00064 const char *id, 00065 const char *about); 00066 00075 RdfDescription *rdfGetDescriptionFromAbout(RdfSchema *schema, 00076 const char *about); 00077 00086 RdfDescription *rdfGetDescriptionFromId(RdfSchema *schema, const char *id); 00087 00094 void rdfSetDescriptionId(RdfDescription *desc, const char *id); 00095 00105 char *rdfGetDescriptionId(RdfDescription *desc); 00106 00117 void rdfSetDescriptionAbout(RdfDescription *desc, const char *about); 00118 00129 char *rdfGetDescriptionAbout(RdfDescription *desc); 00130 00131 #ifdef __cplusplus 00132 } 00133 #endif 00134 00135 #endif /* _LIBGNURDF_DESCRIPTION_H_ */ 00136