aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-17 09:25:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-17 09:25:28 +0800
commitfc281a966c29421c896746d784a6f1393fe37f3f (patch)
treec6c576c8372840c627636aa396f075a171d25c9c /camel/camel-service.h
parentb06b0051c5fee1c0eafa87f164fe0b8f4e27e5ef (diff)
downloadgsoc2013-evolution-fc281a966c29421c896746d784a6f1393fe37f3f.tar.gz
gsoc2013-evolution-fc281a966c29421c896746d784a6f1393fe37f3f.tar.zst
gsoc2013-evolution-fc281a966c29421c896746d784a6f1393fe37f3f.zip
Get rid of an unused variable.
2002-04-16 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_folder): Get rid of an unused variable. * providers/smtp/camel-smtp-transport.c (smtp_helo): Use camel_gethostbyaddr since gethostbyaddr is not reentrant. * camel-http-stream.c (http_connect): Updated after the rename of camel_get_host_byname. * camel-service.c (camel_gethostbyname): Renamed. (camel_gethostbyaddr): New cancellable/reentrant version of gethostbyaddr. svn path=/trunk/; revision=16484
Diffstat (limited to 'camel/camel-service.h')
-rw-r--r--camel/camel-service.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-service.h b/camel/camel-service.h
index 98d3de41f3..cb8b89eae9 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -126,7 +126,8 @@ struct hostent * camel_service_gethost (CamelService *service,
CamelException *ex);
/* cancellable dns lookup */
-struct hostent * camel_get_host_byname (const char *name, CamelException *ex);
+struct hostent * camel_gethostbyname (const char *name, CamelException *ex);
+struct hostent * camel_gethostbyaddr (const char *addr, int len, int type, CamelException *ex);
void camel_free_host (struct hostent *h);
/* Standard Camel function */