pentominos:libartefact
This is an old revision of the document!
Table of Contents
libartefact
Introduction
Libartefact is a client library that can be used to connect to the Artefact data server, for data retrieval and insertion.
The library takes care of http communication, encryption/decryption (optionally), XML translations and error handling.
It is intended as a complete interface to the communication possibilities with the Artefact server.
API overview
Error handling
// ... here should be some code that allocates handle and does something useful ... atf_error_t err = atf_get_last_error(handle); if(err != ATF_NO_ERROR) { char buf[512]; printf("Error: %s\n", atf_get_error_string(err, buf, sizeof(buf)); }
pentominos/libartefact.1264751523.txt.gz · Last modified: 2010/01/29 08:52 by deva