From: Anna Samoryadova Date: Thu, 29 Sep 2011 08:04:22 +0000 (+0400) Subject: make all pages valid, add screenshots X-Git-Url: http://git.maemo.org/git/?p=mysocials;a=commitdiff_plain;h=a357e6fc6537278f56192ac676b8d85e50f03128 make all pages valid, add screenshots --- diff --git a/www/api.html b/www/api.html index aaf0b7c..fe8defe 100644 --- a/www/api.html +++ b/www/api.html @@ -1,5 +1,6 @@ - + @@ -63,21 +64,20 @@

MySocials driver is provided as a shared library (libmsa<service_name>.so). Structure msa_module *d includes information about the driver (name, identifier, pointers to driver functions). This structure is filled during initialization of the driver.

Driver interface

-

Driver interface is described in file interface.h and consists of 4 functions: +

Driver interface is described in file interface.h and consists of 4 functions:

-

Driver initialization and shutting down

- Driver initialization is performed by using msa_module_init(struct msa_module* d) function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. -
+

Driver initialization is performed by using msa_module_init(struct msa_module* d) function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. +
Function msa_module->shutdown(const struct msa_module*) is used during program termination. - +

Interaction with driver

- +

Fuction msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info) is used to perform requests to the driver. Parameter request is a request in XML format. Description of structure of sending and receiveing data is described here. Parameter response contains driver response in XML format. @@ -87,7 +87,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa

MySocials driver data structures

Here you can see description of data structures which are used by MySocials driver. These structures are declared in mysocials_driver.h file which is available for other applications from mysocials-dev package. - +

Enumerations

Error codes

enum error_type {
@@ -167,6 +167,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
 	
 
 	

Following classes are supported: +

-

- +

Settings

getSettings

diff --git a/www/development.html b/www/development.html index 120ab6c..4884799 100644 --- a/www/development.html +++ b/www/development.html @@ -71,7 +71,8 @@

Head of PetrSU FRUCT Lab: Iurii A. Bogoiavlenskii, PhD, Head of Department of Computer Science, PetrSU.

Manager: Kirill A. Kulakov, PhD kulakov@cs.karelia.ru

Expert: Alexandr V. Borodin aborod@cs.karelia.ru

-

Developers: