imap: privatizing the non-api words
parent
d20dc5e649
commit
92d71a4a3b
|
@ -32,6 +32,8 @@ CONSTANT: IMAP4_SSL_PORT 993
|
||||||
read-hms " " expect readln parse-rfc822-gmt-offset <timestamp>
|
read-hms " " expect readln parse-rfc822-gmt-offset <timestamp>
|
||||||
] with-string-reader ;
|
] with-string-reader ;
|
||||||
|
|
||||||
|
<PRIVATE
|
||||||
|
|
||||||
: >utf7imap4 ( str -- str' )
|
: >utf7imap4 ( str -- str' )
|
||||||
utf7imap4 encode >string ;
|
utf7imap4 encode >string ;
|
||||||
|
|
||||||
|
@ -100,6 +102,8 @@ CONSTANT: IMAP4_SSL_PORT 993
|
||||||
first 1 tail values first2 [ " " split ] dip string>number swap 2array
|
first 1 tail values first2 [ " " split ] dip string>number swap 2array
|
||||||
] map ;
|
] map ;
|
||||||
|
|
||||||
|
PRIVATE>
|
||||||
|
|
||||||
! Constructor
|
! Constructor
|
||||||
: <imap4ssl> ( host -- imap4 )
|
: <imap4ssl> ( host -- imap4 )
|
||||||
IMAP4_SSL_PORT <inet> <secure> binary <client> drop
|
IMAP4_SSL_PORT <inet> <secure> binary <client> drop
|
||||||
|
|
Loading…
Reference in New Issue