#include <libgnurdf/types.h>
Go to the source code of this file.
Schema (De)allocation Functions | |
RdfSchema * | rdfNewSchema (void) |
Creates a new, blank RdfSchema. More... | |
void | rdfDestroySchema (RdfSchema *schema) |
Destroys an RdfSchema. More... | |
File Input/Output Functions | |
RdfSchema * | rdfReadFile (const char *filename) |
Reads an RDF file. More... | |
RdfSchema * | rdfReadBuffer (char *buffer) |
Reads RDF from a buffer. More... | |
void | rdfWriteFile (RdfSchema *schema, const char *filename) |
Writes RDF to a file. More... | |
void | rdfWriteBuffer (RdfSchema *schema, char **buffer, int *size) |
Writes RDF to a buffer. More... | |
void | rdfSetCompressionLevel (RdfSchema *schema, int level) |
Sets the schema's gzip compression level. More... | |
int | rdfGetCompressionLevel (RdfSchema *schema) |
Returns the gzip compression level of the schema. More... | |
Backwards-compatibility functions | |
RdfSchema * | rdfRead (const char *filename) |
Reads an RDF file. More... | |
void | rdfWrite (RdfSchema *schema, const char *filename) |
Writes RDF to a file. More... |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Destroys an RdfSchema.
|
|
Returns the gzip compression level of the schema.
|
|
Creates a new, blank RdfSchema.
|
|
Reads an RDF file.
|
|
Reads RDF from a buffer.
|
|
Reads an RDF file.
|
|
Sets the schema's gzip compression level.
|
|
Writes RDF to a file.
|
|
Writes RDF to a buffer.
|
|
Writes RDF to a file.
|