Id info and interface functions for external modules. More...
#include <mysocials_driver.h>
Public Attributes | |
| gchar * | id |
| Module ID, a null-terminated string. | |
| gchar * | name |
| Module name for UI purposes. | |
| gchar * | driverName |
| Module name for system purposes (equal initial ID). | |
| gchar * | pic |
| Module icon for UI purposes. | |
| gchar * | proxy |
| gint | port |
| error_type(* | send )(xmlDocPtr request, xmlDocPtr *response, const struct msa_module *info) |
| Receives transmitted data to the module. | |
| error_type(* | shutdown )(const struct msa_module *info) |
Id info and interface functions for external modules.
Each module should implement function named int init_module(msa_module *mod) which fills in the fields of this structure and link appropriate functions to function pointers
| error_type(* msa_module::send)(xmlDocPtr request, xmlDocPtr *response, const struct msa_module *info) |
Receives transmitted data to the module.
| data | Data in XML, encoded in UTF-8 | |
| info | - information about proxy and port |
| 0 | data transfer succeeded |
1.6.3