GdaServerConnection

Name

GdaServerConnection -- 

Synopsis



struct      GdaServerConnectionPrivate;
struct      GdaServerProvider;
GdaServerConnection* gda_server_connection_new
                                            (GdaServerProvider *provider);
const gchar* gda_server_connection_get_string
                                            (GdaServerConnection *cnc);
const gchar* gda_server_connection_get_username
                                            (GdaServerConnection *cnc);
const gchar* gda_server_connection_get_password
                                            (GdaServerConnection *cnc);
void        gda_server_connection_notify_action
                                            (GdaServerConnection *cnc,
                                             GNOME_Database_ActionId action,
                                             GdaParameterList *params);
void        gda_server_connection_add_error (GdaServerConnection *cnc,
                                             GdaError *error);
void        gda_server_connection_add_error_string
                                            (GdaServerConnection *cnc,
                                             const gchar *msg,
                                             ...);
void        gda_server_connection_free_error_list
                                            (GdaServerConnection *cnc);

Description

Details

struct GdaServerConnectionPrivate

struct GdaServerConnectionPrivate;


struct GdaServerProvider

struct GdaServerProvider {
	BonoboObject object;
	GdaServerProviderPrivate *priv;
};


gda_server_connection_new ()

GdaServerConnection* gda_server_connection_new
                                            (GdaServerProvider *provider);


gda_server_connection_get_string ()

const gchar* gda_server_connection_get_string
                                            (GdaServerConnection *cnc);


gda_server_connection_get_username ()

const gchar* gda_server_connection_get_username
                                            (GdaServerConnection *cnc);


gda_server_connection_get_password ()

const gchar* gda_server_connection_get_password
                                            (GdaServerConnection *cnc);


gda_server_connection_notify_action ()

void        gda_server_connection_notify_action
                                            (GdaServerConnection *cnc,
                                             GNOME_Database_ActionId action,
                                             GdaParameterList *params);


gda_server_connection_add_error ()

void        gda_server_connection_add_error (GdaServerConnection *cnc,
                                             GdaError *error);


gda_server_connection_add_error_string ()

void        gda_server_connection_add_error_string
                                            (GdaServerConnection *cnc,
                                             const gchar *msg,
                                             ...);

Adds a new error to the given connection object. This is just a convenience function that simply creates a GdaError and then calls gda_server_connection_add_error.


gda_server_connection_free_error_list ()

void        gda_server_connection_free_error_list
                                            (GdaServerConnection *cnc);