X-Git-Url: http://git.maemo.org/git/?p=mysocials;a=blobdiff_plain;f=www%2Fapi.html;h=06bc6fccc488138e850d1fb87dfb502c68eb713e;hp=23b3e680f9d8eb6fbdc5604c946408c329117715;hb=f99a0411e2857e14ba4c7f48c423d427dc4b784a;hpb=540126496f0d971f237a18cb32a85c09229c797e diff --git a/www/api.html b/www/api.html index 23b3e68..06bc6fc 100644 --- a/www/api.html +++ b/www/api.html @@ -27,8 +27,10 @@ + + - + @@ -78,7 +80,7 @@

Interaction with driver

- Fuction msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info) is used to perform requests to the driver. + Function 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. Function msa_module_get_info(struct msa_module* d) is used to get information about driver (driver name and icon). @@ -103,7 +105,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa

Driver interface

-

MySocials driver interface described in msa_module structure. Some of the fields of this stucture are filled before initialization by application (marked with **), the rest of it is filled during initialization.

+

MySocials driver interface described in msa_module structure. Some of the fields of this structure are filled before initialization by application (marked with **), the rest of it is filled during initialization.

struct msa_module {
 	gchar *id;    // Identifier 
@@ -149,7 +151,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
 	
  • noAuthorize - flag which forbids driver to call WebAuth (optional, set to false by default)
  • class - class which includes called function
  • function - name of the function
  • -
  • Params - set of parameters, stricly defined for each function
  • +
  • Params - set of parameters, strictly defined for each function
  • Response format

    @@ -161,7 +163,7 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
    AboutScreenshots MySocials APIMySocials API Privacy