summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPiers Lauder <piers@cs.su.oz.au>2002-06-17 07:07:20 (GMT)
committerPiers Lauder <piers@cs.su.oz.au>2002-06-17 07:07:20 (GMT)
commit3fca291a52cae513b8f76851186f96ba5fe863d2 (patch)
tree325970f3f414231b5cafbdf09898072f31e19431 /Doc
parentf0a70f6d0a0e17f74298e03e92a9e2b968e88c2a (diff)
downloadcpython-3fca291a52cae513b8f76851186f96ba5fe863d2.zip
cpython-3fca291a52cae513b8f76851186f96ba5fe863d2.tar.gz
cpython-3fca291a52cae513b8f76851186f96ba5fe863d2.tar.bz2
Add IMAP4 QUOTA extension methods
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libimaplib.tex22
1 files changed, 21 insertions, 1 deletions
diff --git a/Doc/lib/libimaplib.tex b/Doc/lib/libimaplib.tex
index 38323cf..b710ce7 100644
--- a/Doc/lib/libimaplib.tex
+++ b/Doc/lib/libimaplib.tex
@@ -174,6 +174,16 @@ An \class{IMAP4} instance has the following methods:
The method is non-standard, but is supported by the \samp{Cyrus} server.
\end{methoddesc}
+\begin{methoddesc}{getquota}{root}
+ Get the \samp{quota} \var{root}'s resource usage and limits.
+ This method is part of the IMAP4 QUOTA extension defined in rfc2087.
+\end{methoddesc}
+
+\begin{methoddesc}{getquotaroot}{mailbox}
+ Get the list of \samp{quota} \samp{roots} for the named \var{mailbox}.
+ This method is part of the IMAP4 QUOTA extension defined in rfc2087.
+\end{methoddesc}
+
\begin{methoddesc}{list}{\optional{directory\optional{, pattern}}}
List mailbox names in \var{directory} matching
\var{pattern}. \var{directory} defaults to the top-level mail
@@ -204,7 +214,7 @@ An \class{IMAP4} instance has the following methods:
\begin{methoddesc}{open}{host, port}
Opens socket to \var{port} at \var{host}.
The connection objects established by this method
- will be used in the \code{read}, \code{readline}, and \code{shutdown} methods.
+ will be used in the \code{read}, \code{readline}, \code{send}, and \code{shutdown} methods.
You may override this method.
\end{methoddesc}
@@ -263,11 +273,21 @@ msgnums = M.search(None, '(FROM "LDJ")')
to the mailbox are not allowed.
\end{methoddesc}
+\begin{methoddesc}{send}{data}
+ Sends \code{data} to the remote server.
+ You may override this method.
+\end{methoddesc}
+
\begin{methoddesc}{setacl}{mailbox, who, what}
Set an \samp{ACL} for \var{mailbox}.
The method is non-standard, but is supported by the \samp{Cyrus} server.
\end{methoddesc}
+\begin{methoddesc}{setquota}{root, limits}
+ Set the \samp{quota} \var{root}'s resource \var{limits}.
+ This method is part of the IMAP4 QUOTA extension defined in rfc2087.
+\end{methoddesc}
+
\begin{methoddesc}{shutdown}{}
Close connection established in \code{open}.
You may override this method.