diff options
author | Joe Shaw <joe@ximian.com> | 2001-07-06 12:11:27 +0800 |
---|---|---|
committer | Joe Shaw <joeshaw@src.gnome.org> | 2001-07-06 12:11:27 +0800 |
commit | ccbc3a36887e4ab7e442c649ddae53f6e964f40f (patch) | |
tree | 08802644edeba3b8d14cc5096161ef3ef6e36039 /camel/providers/nntp/camel-nntp-resp-codes.h | |
parent | 2583bd0d41a6ef0bcf91ebc8788157aad57a312e (diff) | |
download | gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.tar gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.tar.gz gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.tar.bz2 gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.tar.lz gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.tar.xz gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.tar.zst gsoc2013-evolution-ccbc3a36887e4ab7e442c649ddae53f6e964f40f.zip |
Add locking to camel_nntp_get_grouplist_from_server().
2001-07-06 Joe Shaw <joe@ximian.com>
* providers/nntp/camel-nntp-grouplist.c: Add locking to
camel_nntp_get_grouplist_from_server().
* providers/nntp/camel-nntp-resp-codes.h: Added
NNTP_EXTENSIONS_SUPPORTED (202).
* providers/nntp/camel-nntp-store.c (camel_nntp_store_get_extensions):
Check for both NNTP_LIST_FOLLOWS and NNTP_EXTENSIONS_SUPPORTED from
a LIST EXTENSIONS request. (Dunno if NNTP_LIST_FOLLOWS ever comes
out of this, but that's what was already there...) Also, put some
locking around it.
(finalize): e_mutex_destroy() the command lock
(camel_nntp_store_init): e_mutex_new() the command lock.
* providers/nntp/camel-nntp-store.h: Add locking macros.
svn path=/trunk/; revision=10838
Diffstat (limited to 'camel/providers/nntp/camel-nntp-resp-codes.h')
-rw-r--r-- | camel/providers/nntp/camel-nntp-resp-codes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/providers/nntp/camel-nntp-resp-codes.h b/camel/providers/nntp/camel-nntp-resp-codes.h index 56aec79d3c..2f4d9ed540 100644 --- a/camel/providers/nntp/camel-nntp-resp-codes.h +++ b/camel/providers/nntp/camel-nntp-resp-codes.h @@ -31,6 +31,7 @@ #define NNTP_GREETING_POSTING_OK 200 #define NNTP_GREETING_NO_POSTING 201 +#define NNTP_EXTENSIONS_SUPPORTED 202 #define NNTP_GROUP_SELECTED 211 #define NNTP_LIST_FOLLOWS 215 #define NNTP_ARTICLE_FOLLOWS 220 |