added mapping of old pop3-names to new ones

updated docu accordingly
This commit is contained in:
interp 2002-05-12 05:59:18 +00:00
parent 906ef5571c
commit ac3622ec96
2 changed files with 22 additions and 2 deletions

View File

@ -1,8 +1,8 @@
\section{Using POP3}\label{sec:pop3}
%
\begin{description}
\item[Used files:] pop3.scm
\item[Name of the package:] pop3
\item[Used files:] pop3.scm pop3-obsolete.scm
\item[Name of the package:] pop3 pop3-obsolete.scm
\end{description}
%
\subsection{Overview}
@ -93,6 +93,14 @@ always refers to the result of \ex{pop3-\ob{}connect}.
Close the connection with the mailhost.
\end{defundesc}
\subsubsection*{Obsolete procedures}
Names in further versions of \ex{pop3} contained a colon (`\ex{:}')
after the prefix `\ex{pop3-}'. This is now changed to a hyphen
('\ex{-}'), accordingly to SUnet's philosophy. If you need the old
names, use the \ex{pop3\=obsolete}-package that maps the old names to
the new ones.
\subsection{Related work}
\begin{itemize}

12
pop3-obsolete.scm Normal file
View File

@ -0,0 +1,12 @@
; maps obsolete pop3-procedure names to new pop3 procedure names
; by Andreas Bernauer (2002)
(define pop3:connect pop3-connect)
(define pop3:login pop3-login)
(define pop3:stat pop3-stat)
(define pop3:get pop3-get)
(define pop3:headers pop3-headers)
(define pop3:last pop3-last)
(define pop3:delete pop3-delete)
(define pop3:reset pop3-reset)
(define pop3:quit pop3-quit)