aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-service.h')
-rw-r--r--camel/camel-service.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/camel/camel-service.h b/camel/camel-service.h
index 521db58104..2da9c57f69 100644
--- a/camel/camel-service.h
+++ b/camel/camel-service.h
@@ -35,6 +35,7 @@ extern "C" {
#endif /* __cplusplus }*/
#include <gtk/gtk.h>
+#include <netdb.h>
#include "camel-types.h"
#include "url-util.h"
@@ -114,6 +115,15 @@ GList * camel_service_query_auth_types (CamelService *service);
void camel_service_free_auth_types (CamelService *service,
GList *authtypes);
+/* convenience functions */
+struct hostent * camel_service_gethost (CamelService *service,
+ CamelException *ex);
+int camel_service_getport (CamelService *service,
+ char *default_name,
+ int default_number,
+ char *proto,
+ CamelException *ex);
+
/* Standard Gtk function */
GtkType camel_service_get_type (void);