| GNOME Data Access manual |
|---|
struct GdaXmlConnectionPrivate; GdaXmlConnection* gda_xml_connection_new (void); GdaXmlConnection* gda_xml_connection_new_from_file (const gchar *filename); GdaXmlConnection* gda_xml_connection_new_from_string (const gchar *string); gboolean gda_xml_connection_set_from_file (GdaXmlConnection *xmlcnc, const gchar *filename); gboolean gda_xml_connection_set_from_string (GdaXmlConnection *xmlcnc, const gchar *string); const gchar* gda_xml_connection_get_dsn (GdaXmlConnection *xmlcnc); void gda_xml_connection_set_dsn (GdaXmlConnection *xmlcnc, const gchar *dsn); const gchar* gda_xml_connection_get_username (GdaXmlConnection *xmlcnc); void gda_xml_connection_set_username (GdaXmlConnection *xmlcnc, const gchar *username); const gchar* gda_xml_connection_get_password (GdaXmlConnection *xmlcnc); void gda_xml_connection_set_password (GdaXmlConnection *xmlcnc, const gchar *password);
GdaXmlConnection* gda_xml_connection_new (void);
Creates a new
| Returns : | the newly created object. |
GdaXmlConnection* gda_xml_connection_new_from_file
(const gchar *filename);Creates a
| filename : | name of file to create the |
| Returns : | the newly created object. |
GdaXmlConnection* gda_xml_connection_new_from_string
(const gchar *string);Creates a
| string : | XML string to create the |
| Returns : | the newly created object. |
gboolean gda_xml_connection_set_from_file
(GdaXmlConnection *xmlcnc,
const gchar *filename);Loads a XML file into the given
| xmlcnc : | a |
| filename : | name of a XML file. |
| Returns : | TRUE if successful, FALSE otherwise. |
gboolean gda_xml_connection_set_from_string
(GdaXmlConnection *xmlcnc,
const gchar *string);Loads a XML string into the given
| xmlcnc : | a |
| string : | XML connection file contents. |
| Returns : | TRUE if successful, FALSE otherwise. |
const gchar* gda_xml_connection_get_dsn (GdaXmlConnection *xmlcnc);
| xmlcnc : | a |
| Returns : | the data source name for the given |
void gda_xml_connection_set_dsn (GdaXmlConnection *xmlcnc,
const gchar *dsn);Sets the data source name for the given
| xmlcnc : | a |
| dsn : | data source name. |
const gchar* gda_xml_connection_get_username
(GdaXmlConnection *xmlcnc);| xmlcnc : | a |
| Returns : | the user name defined in the |
void gda_xml_connection_set_username (GdaXmlConnection *xmlcnc,
const gchar *username);Sets the user name for the given
| xmlcnc : | a |
| username : | new user name. |
const gchar* gda_xml_connection_get_password
(GdaXmlConnection *xmlcnc);| xmlcnc : | a |
| Returns : | the password defined in the |
void gda_xml_connection_set_password (GdaXmlConnection *xmlcnc,
const gchar *password);Sets the password for the given
| xmlcnc : | a |
| password : | new password. |
| <<< gda-value | GdaXmlDatabase >>> |