msa_module Struct Reference

Id info and interface functions for external modules. More...

#include <mysocials_driver.h>

List of all members.

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)

Detailed Description

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

See also:
msa_module_type

Member Data Documentation

error_type(* msa_module::send)(xmlDocPtr request, xmlDocPtr *response, const struct msa_module *info)

Receives transmitted data to the module.

Parameters:
data Data in XML, encoded in UTF-8
info - information about proxy and port
Returns:
Error code for data transfer operatio
Return values:
0 data transfer succeeded

The documentation for this struct was generated from the following file:
Generated on Tue Jul 19 11:01:25 2011 for mysocials-core by  doxygen 1.6.3