aboutsummaryrefslogtreecommitdiff
path: root/libsylph/session.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-12-07 04:48:14 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-12-07 04:48:14 +0000
commit14c652150c9a6339c792eb1911da809327237123 (patch)
treead1bfa3e8818651ae8e4026f7571ec6392fb45b0 /libsylph/session.h
parent3a54dc9a9d8e28b9415552512d45d172528d1a78 (diff)
added SOCKS4/5 proxy support.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2733 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/session.h')
-rw-r--r--libsylph/session.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libsylph/session.h b/libsylph/session.h
index b5127c0e..a807a4ae 100644
--- a/libsylph/session.h
+++ b/libsylph/session.h
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2007 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2010 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -30,6 +30,7 @@
#include <unistd.h>
#include "socket.h"
+#include "socks.h"
#define SESSION_BUFFSIZE 8192
@@ -181,6 +182,10 @@ void session_init (Session *session);
gint session_connect (Session *session,
const gchar *server,
gushort port);
+gint session_connect_full (Session *session,
+ const gchar *server,
+ gushort port,
+ SocksInfo *socks_info);
gint session_disconnect (Session *session);
void session_destroy (Session *session);
gboolean session_is_connected (Session *session);