diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-01-20 06:01:27 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-01-20 06:01:27 +0000 |
commit | 430f45f16d2c4e4b610aa347869a53eb225acd20 (patch) | |
tree | 748078683d549784a4edadeeb36f9149ea972abc /libsylph/nntp.h | |
parent | 82acd302b6c178d1068535ecfbeaeecdae1bd57e (diff) |
supported NNTP over SOCKS porxy.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3016 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/nntp.h')
-rw-r--r-- | libsylph/nntp.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libsylph/nntp.h b/libsylph/nntp.h index 55fbaa68..045fae74 100644 --- a/libsylph/nntp.h +++ b/libsylph/nntp.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2012 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,6 +24,7 @@ #if USE_SSL # include "ssl.h" #endif +#include "socks.h" typedef struct _NNTPSession NNTPSession; @@ -59,12 +60,25 @@ Session *nntp_session_new (const gchar *server, const gchar *userid, const gchar *passwd, SSLType ssl_type); +Session *nntp_session_new_full (const gchar *server, + gushort port, + SocksInfo *socks_info, + gchar *buf, + const gchar *userid, + const gchar *passwd, + SSLType ssl_type); #else Session *nntp_session_new (const gchar *server, gushort port, gchar *buf, const gchar *userid, const gchar *passwd); +Session *nntp_session_new_full (const gchar *server, + gushort port, + SocksInfo *socks_info, + gchar *buf, + const gchar *userid, + const gchar *passwd); #endif gint nntp_group (NNTPSession *session, |