diff options
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r-- | camel/camel-service.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c index e843826a81..2ca3d6f352 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -28,12 +28,12 @@ static GtkObjectClass *parent_class=NULL; /* Returns the class for a CamelService */ #define CSERV_CLASS(so) CAMEL_SERVICE_CLASS (GTK_OBJECT(so)->klass) -static void __camel_service_connect(CamelService *service); -static void __camel_service_connect_to_with_login_passwd(CamelService *service, GString *host, GString *login, GString *passwd); -static void __camel_service_connect_to_with_login_passwd_port(CamelService *service, GString *host, GString *login, GString *passwd, guint port); -static gboolean __camel_service_is_connected(CamelService *service); -static void __camel_service_set_connected(CamelService *service, gboolean state); -static GString *__camel_service_get_url(CamelService *service); +static void _connect(CamelService *service); +static void _connect_to_with_login_passwd(CamelService *service, GString *host, GString *login, GString *passwd); +static void _connect_to_with_login_passwd_port(CamelService *service, GString *host, GString *login, GString *passwd, guint port); +static gboolean _is_connected(CamelService *service); +static void _set_connected(CamelService *service, gboolean state); +static GString *_get_url(CamelService *service); static void camel_service_class_init (CamelServiceClass *camel_service_class) @@ -41,12 +41,12 @@ camel_service_class_init (CamelServiceClass *camel_service_class) parent_class = gtk_type_class (gtk_object_get_type ()); /* virtual method definition */ - camel_service_class->connect = __camel_service_connect; - camel_service_class->connect_to_with_login_passwd = __camel_service_connect_to_with_login_passwd; - camel_service_class->connect_to_with_login_passwd_port = __camel_service_connect_to_with_login_passwd_port; - camel_service_class->is_connected = __camel_service_is_connected; - camel_service_class->set_connected = __camel_service_set_connected; - camel_service_class->get_url = __camel_service_get_url; + camel_service_class->connect = _connect; + camel_service_class->connect_to_with_login_passwd = _connect_to_with_login_passwd; + camel_service_class->connect_to_with_login_passwd_port = _connect_to_with_login_passwd_port; + camel_service_class->is_connected = _is_connected; + camel_service_class->set_connected = _set_connected; + camel_service_class->get_url = _get_url; /* virtual method overload */ } @@ -86,7 +86,7 @@ camel_service_get_type (void) /** - * __camel_service_connect : connect to a service + * _connect : connect to a service * * connect to the service using the parameters * stored in the session it is initialized with @@ -95,7 +95,7 @@ camel_service_get_type (void) * @service: object to connect **/ static void -__camel_service_connect(CamelService *service) +_connect(CamelService *service) { CSERV_CLASS(service)->set_connected(service, TRUE); } @@ -119,7 +119,7 @@ camel_service_connect(CamelService *service) /** - * __camel_service_connect_to: connect to the specified address + * _connect_to: connect to the specified address * * Connect to the service, but do not use the session * default parameters to retrieve server's address @@ -130,7 +130,7 @@ camel_service_connect(CamelService *service) * @passwd: password used to log in **/ static void -__camel_service_connect_to_with_login_passwd(CamelService *service, GString *host, GString *login, GString *passwd) +_connect_to_with_login_passwd(CamelService *service, GString *host, GString *login, GString *passwd) { CSERV_CLASS(service)->set_connected(service, TRUE); } @@ -155,7 +155,7 @@ camel_service_connect_to_with_login_passwd(CamelService *service, GString *host, /** - * __camel_service_connect_to:login:password : connect to the specified address + * _connect_to:login:password : connect to the specified address * * Connect to the service, but do not use the session * default parameters to retrieve server's address @@ -168,7 +168,7 @@ camel_service_connect_to_with_login_passwd(CamelService *service, GString *host, * **/ static void -__camel_service_connect_to_with_login_passwd_port(CamelService *service, GString *host, GString *login, GString *passwd, guint port) +_connect_to_with_login_passwd_port(CamelService *service, GString *host, GString *login, GString *passwd, guint port) { CSERV_CLASS(service)->set_connected(service, TRUE); } @@ -196,14 +196,14 @@ camel_service_connect_to_with_login_passwd_port(CamelService *service, GString * /** - * __camel_service_is_connected: test if the service object is connected + * _is_connected: test if the service object is connected * * * @service: object to test * **/ static gboolean -__camel_service_is_connected(CamelService *service) +_is_connected(CamelService *service) { return service->connected; } @@ -226,7 +226,7 @@ camel_service_is_connected(CamelService *service) /** - * __camel_service_set_connected: set the connected state + * _set_connected: set the connected state * * This routine has to be called by providers to set the * connection state, mainly when the service is disconnected @@ -237,7 +237,7 @@ camel_service_is_connected(CamelService *service) * **/ static void -__camel_service_set_connected(CamelService *service, gboolean state) +_set_connected(CamelService *service, gboolean state) { service->connected = state; } @@ -245,7 +245,7 @@ __camel_service_set_connected(CamelService *service, gboolean state) /** - * __camel_service_get_url: get url representing a service + * _get_url: get url representing a service * @service: the service * * This method merely returns the "url" field. Subclasses @@ -254,7 +254,7 @@ __camel_service_set_connected(CamelService *service, gboolean state) * Return value: **/ static GString * -__camel_service_get_url(CamelService *service) +_get_url(CamelService *service) { return service->url; } |